I'm trying to write a dialback program for Solaris (working on v2.6).
With ttymon, it's easy to have it call my program instead of the
default /bin/login.
The one problem I'm encountering is trying to drop the modem
connection. My program ends after I do this. I've tried ignoring
all signals (with sigignore()) figuring that I might be getting HUP
(first I tried just ignoring HUP, but that didn't do anything).
Anybody know why my program is terminating when I disconnect the modem
line? And more importantly, how to prevent it?
Thanks for any information.
--
Disclaimer: Any/All views expressed
here have been proved to be my own. [http://www.csh.rit.edu/~adam/]