From 3cc0f965fb567da350ab21984ee3e91f761be81a Mon Sep 17 00:00:00 2001 From: Felix Fietkau Date: Sat, 19 Nov 2005 14:07:54 +0000 Subject: [PATCH] remove nodetach from ppp init scripts SVN-Revision: 2534 --- openwrt/package/ppp/files/ifup.pppoa | 2 +- openwrt/package/ppp/files/ifup.pppoe | 2 +- openwrt/package/pptp/files/ifup.pptp | 2 +- 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 \ -- 2.25.1