I am writing a network daemon; it will be started up at 'rc' time. After startup, I want it to lose all tty-group connections. I also want it to shutdown cleanly (say when shutdown is run). Does anyone have an example or 'shell' for a deamon. tnx. jb.