mirror of
https://github.com/openwrt/openwrt.git
synced 2025-02-08 12:00:49 +00:00
remove nodetach from ppp init scripts
SVN-Revision: 2534
This commit is contained in:
parent
1e1744d103
commit
3cc0f965fb
@ -31,7 +31,7 @@ esac
|
|||||||
MTU=$(nvram get ppp_mtu)
|
MTU=$(nvram get ppp_mtu)
|
||||||
MTU=${MTU:-1500}
|
MTU=${MTU:-1500}
|
||||||
|
|
||||||
/usr/sbin/pppd nodetach \
|
/usr/sbin/pppd \
|
||||||
plugin pppoatm.so ${VPI:-8}.${VCI:-35} \
|
plugin pppoatm.so ${VPI:-8}.${VCI:-35} \
|
||||||
usepeerdns \
|
usepeerdns \
|
||||||
defaultroute \
|
defaultroute \
|
||||||
|
@ -31,7 +31,7 @@ MTU=$(nvram get ppp_mtu)
|
|||||||
MTU=${MTU:-1492}
|
MTU=${MTU:-1492}
|
||||||
|
|
||||||
ifconfig $IFNAME up
|
ifconfig $IFNAME up
|
||||||
/usr/sbin/pppd nodetach \
|
/usr/sbin/pppd \
|
||||||
plugin rp-pppoe.so \
|
plugin rp-pppoe.so \
|
||||||
connect /bin/true \
|
connect /bin/true \
|
||||||
usepeerdns \
|
usepeerdns \
|
||||||
|
@ -36,7 +36,7 @@ NETMASK=$(nvram get ${type}_netmask)
|
|||||||
IFNAME=$(nvram get pptp_ifname)
|
IFNAME=$(nvram get pptp_ifname)
|
||||||
[ -z "$NETMASK" -o -z "$IFNAME" ] || ifconfig $IFNAME netmask $NETMASK
|
[ -z "$NETMASK" -o -z "$IFNAME" ] || ifconfig $IFNAME netmask $NETMASK
|
||||||
|
|
||||||
/usr/sbin/pppd nodetach \
|
/usr/sbin/pppd \
|
||||||
pty "/usr/sbin/pptp $IP --loglevel 0 --nolaunchpppd" \
|
pty "/usr/sbin/pptp $IP --loglevel 0 --nolaunchpppd" \
|
||||||
file /etc/ppp/options.pptp \
|
file /etc/ppp/options.pptp \
|
||||||
connect /bin/true \
|
connect /bin/true \
|
||||||
|
Loading…
x
Reference in New Issue
Block a user