From 1b02e2c32ceefd3b59c34c3eb8d9080b83be1bd6 Mon Sep 17 00:00:00 2001 From: nbd Date: Sat, 19 Nov 2005 14:07:54 +0000 Subject: [PATCH] remove nodetach from ppp init scripts git-svn-id: svn://svn.openwrt.org/openwrt/trunk/openwrt@2534 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- package/ppp/files/ifup.pppoa | 2 +- package/ppp/files/ifup.pppoe | 2 +- package/pptp/files/ifup.pptp | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/package/ppp/files/ifup.pppoa b/package/ppp/files/ifup.pppoa index 6539c3ae8..475224ff3 100644 --- a/package/ppp/files/ifup.pppoa +++ b/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/package/ppp/files/ifup.pppoe b/package/ppp/files/ifup.pppoe index 4c42fa5bb..a038b3427 100644 --- a/package/ppp/files/ifup.pppoe +++ b/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/package/pptp/files/ifup.pptp b/package/pptp/files/ifup.pptp index eda78e440..c8a1a5eee 100644 --- a/package/pptp/files/ifup.pptp +++ b/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 \