I am trying to setup logging on a serial port that a Router is connected to. I can use cu to accomplish this, but I would like to have it run in the background, and keep getting this message:
cu -l /dev/ttyD015 1>>/var/log/router.log &
[1]+ Stopped (tty output) cu -l /dev/ttyD015 >>/var/log/router.log
Running in the foreground works fine, and logs everything the way I need it, but I'd like to wrap this in an init script, so it is started upon boot.
Thanks for any suggestions.
Bruce Garlock
bruceg@tiac.net
cu -l /dev/ttyD015 1>>/var/log/router.log &
[1]+ Stopped (tty output) cu -l /dev/ttyD015 >>/var/log/router.log
Running in the foreground works fine, and logs everything the way I need it, but I'd like to wrap this in an init script, so it is started upon boot.
Thanks for any suggestions.
Bruce Garlock
bruceg@tiac.net