mirror of
git://projects.qi-hardware.com/openwrt-xburst.git
synced 2024-11-24 03:11:32 +02:00
remove nodetach from ppp init scripts
git-svn-id: svn://svn.openwrt.org/openwrt/trunk/openwrt@2534 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
parent
680764b28f
commit
1b02e2c32c
@ -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