mirror of
git://projects.qi-hardware.com/openwrt-xburst.git
synced 2024-11-26 01:34:40 +02:00
remove nodetach from ppp init scripts
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@2534 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
parent
35a499ec9f
commit
f415ff1978
@ -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 \
|
||||
|
@ -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 \
|
||||
|
@ -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 \
|
||||
|
Loading…
Reference in New Issue
Block a user