When user disconnects from socat the process terminates, so you have to restart it.
To automate this process, you can use /etc/inittab.
Here
2345 -- is enumeration of runlevels for which process is started,
s1 -- is a unique sequence of 1-4 characters which identifies an entry in inittab.
This socat configuration is used to provide access to serial port (UART / RS-485) over TCP/IP.
2345 -- is enumeration of runlevels for which process is started,
s1 -- is a unique sequence of 1-4 characters which identifies an entry in inittab.
This socat configuration is used to provide access to serial port (UART / RS-485) over TCP/IP.
Комментариев нет:
Отправить комментарий