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=${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