Removed init script as there is an hotplug one, check whether user configuration...
[openwrt.git] / openwrt / package / ppp / files / ifup.pppoe
index 4c42fa5..b43d268 100644 (file)
@@ -14,7 +14,7 @@ for module in slhc ppp_generic pppox pppoe; do
        /sbin/insmod $module 2>&- >&-
 done
 
-IFNAME=$(nvram get pppoe_ifname)
+IFNAME=$(nvram get ${type}_device)
 USERNAME=$(nvram get ppp_username)
 PASSWORD=$(nvram get ppp_passwd)
 KEEPALIVE=$(nvram get ppp_redialperiod)
@@ -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 \
This page took 0.021319 seconds and 4 git commands to generate.