1
0
mirror of git://projects.qi-hardware.com/openwrt-xburst.git synced 2024-11-10 17:36:14 +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:
nbd 2005-11-19 14:07:54 +00:00
parent 35a499ec9f
commit f415ff1978
3 changed files with 3 additions and 3 deletions

View File

@ -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 \

View File

@ -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 \

View File

@ -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 \