X-Git-Url: http://git.rohieb.name/openwrt.git/blobdiff_plain/1b02e2c32ceefd3b59c34c3eb8d9080b83be1bd6..30ee8b09baf1f268b73e201f5c35f54e1ba6dfb9:/package/ppp/files/ifup.pppoe diff --git a/package/ppp/files/ifup.pppoe b/package/ppp/files/ifup.pppoe index a038b3427..b43d2689b 100644 --- a/package/ppp/files/ifup.pppoe +++ b/package/ppp/files/ifup.pppoe @@ -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)