From: Felix Fietkau Date: Sat, 19 Nov 2005 14:07:54 +0000 (+0000) Subject: remove nodetach from ppp init scripts X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=3cc0f965fb567da350ab21984ee3e91f761be81a;p=librecmc%2Flibrecmc.git remove nodetach from ppp init scripts SVN-Revision: 2534 --- 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 \