summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authornbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>2005-11-19 14:07:54 +0000
committernbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>2005-11-19 14:07:54 +0000
commitf415ff1978269c50de7619e4f45a5d6942f6c6cc (patch)
treeead7b9a559aa8dd94e5841ee4d9f6315b32c94ed
parent35a499ec9f3c64dc7959fc60c1d7e5b45b75e412 (diff)
remove nodetach from ppp init scripts
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@2534 3c298f89-4303-0410-b956-a3cf2f4a3e73
-rw-r--r--openwrt/package/ppp/files/ifup.pppoa2
-rw-r--r--openwrt/package/ppp/files/ifup.pppoe2
-rw-r--r--openwrt/package/pptp/files/ifup.pptp2
3 files changed, 3 insertions, 3 deletions
diff --git a/openwrt/package/ppp/files/ifup.pppoa b/openwrt/package/ppp/files/ifup.pppoa
index 6539c3ae8e..475224ff35 100644
--- a/openwrt/package/ppp/files/ifup.pppoa
+++ b/openwrt/package/ppp/files/ifup.pppoa
@@ -31,7 +31,7 @@ esac
MTU=$(nvram get ppp_mtu)
MTU=${MTU:-1500}
-/usr/sbin/pppd nodetach \
+/usr/sbin/pppd \
plugin pppoatm.so ${VPI:-8}.${VCI:-35} \
usepeerdns \
defaultroute \
diff --git a/openwrt/package/ppp/files/ifup.pppoe b/openwrt/package/ppp/files/ifup.pppoe
index 4c42fa5bb2..a038b34279 100644
--- a/openwrt/package/ppp/files/ifup.pppoe
+++ b/openwrt/package/ppp/files/ifup.pppoe
@@ -31,7 +31,7 @@ MTU=$(nvram get ppp_mtu)
MTU=${MTU:-1492}
ifconfig $IFNAME up
-/usr/sbin/pppd nodetach \
+/usr/sbin/pppd \
plugin rp-pppoe.so \
connect /bin/true \
usepeerdns \
diff --git a/openwrt/package/pptp/files/ifup.pptp b/openwrt/package/pptp/files/ifup.pptp
index eda78e4402..c8a1a5eee8 100644
--- a/openwrt/package/pptp/files/ifup.pptp
+++ b/openwrt/package/pptp/files/ifup.pptp
@@ -36,7 +36,7 @@ NETMASK=$(nvram get ${type}_netmask)
IFNAME=$(nvram get pptp_ifname)
[ -z "$NETMASK" -o -z "$IFNAME" ] || ifconfig $IFNAME netmask $NETMASK
-/usr/sbin/pppd nodetach \
+/usr/sbin/pppd \
pty "/usr/sbin/pptp $IP --loglevel 0 --nolaunchpppd" \
file /etc/ppp/options.pptp \
connect /bin/true \