aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xsysconfig/network-scripts/ifup-ppp5
-rwxr-xr-xsysconfig/network-scripts/ifup-sl4
2 files changed, 6 insertions, 3 deletions
diff --git a/sysconfig/network-scripts/ifup-ppp b/sysconfig/network-scripts/ifup-ppp
index 9d09038f..ff36accf 100755
--- a/sysconfig/network-scripts/ifup-ppp
+++ b/sysconfig/network-scripts/ifup-ppp
@@ -7,10 +7,11 @@ CONFIG=$1
# ifup-post for PPP is handled through /etc/ppp/ip-up
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 >/dev/null 2>/dev/null
exit 0
fi
-
shift
source_config
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 >/dev/null 2>/dev/null
exit 0
fi
shift