From b566b5698c7adba211168e2b7eac2618a6a6ca97 Mon Sep 17 00:00:00 2001 From: "Michael K. Johnson" Date: Tue, 23 Sep 1997 15:38:57 +0000 Subject: Disassociate from controlling tty so SIGHUPs won't be generated. --- sysconfig/network-scripts/ifup-sl | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'sysconfig/network-scripts/ifup-sl') diff --git a/sysconfig/network-scripts/ifup-sl b/sysconfig/network-scripts/ifup-sl index c0ad24d5..50ddbad8 100755 --- a/sysconfig/network-scripts/ifup-sl +++ b/sysconfig/network-scripts/ifup-sl @@ -5,7 +5,9 @@ PATH=/sbin:/usr/sbin:/bin:/usr/bin # become a daemon in case we have to persist. if [ "$1" != daemon ] ; then - $0 daemon $*& + # disconnect stdin, out, err to disassociate from controlling tty + # so that no HUPs will get through. + $0 daemon $*& /dev/null 2>/dev/null exit 0 fi shift -- cgit v1.2.1