summaryrefslogtreecommitdiffstats
path: root/sbin/ifconfig/ifconfig.c
diff options
context:
space:
mode:
authorjoerg <joerg@FreeBSD.org>1995-03-12 15:04:18 +0000
committerjoerg <joerg@FreeBSD.org>1995-03-12 15:04:18 +0000
commitc019fd724050c5fc25f122d1877ff762b9cef597 (patch)
treefcdea8e5823515e77c4dd86f7cfc35fc661c9faa /sbin/ifconfig/ifconfig.c
parentdb2028940b5b3b6722f6cce89408024bd71a039a (diff)
downloadFreeBSD-src-c019fd724050c5fc25f122d1877ff762b9cef597.zip
FreeBSD-src-c019fd724050c5fc25f122d1877ff762b9cef597.tar.gz
Make slattach create a PID file under /var/run when the connection is
established. This way, automatic scripts are possible that might control the SLIP connection. It's unacceptable for a daemon that's being controlled by a variety of signals to not leave its PID somewhere. The file name contains the terminal path name component of the associated tty device, so it should be unique even with multiple parallel slattach's running. The file will be unlinked at regular exit. Also found a minor bug in the option handling by compiling with -Wall.
Diffstat (limited to 'sbin/ifconfig/ifconfig.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud