add pppoe fix from whiterussian
authorFelix Fietkau <nbd@openwrt.org>
Sat, 20 Aug 2005 15:06:22 +0000 (15:06 +0000)
committerFelix Fietkau <nbd@openwrt.org>
Sat, 20 Aug 2005 15:06:22 +0000 (15:06 +0000)
SVN-Revision: 1703

openwrt/package/ppp/files/ifup.pppoe

index dbf58c380fe1145d77be2deacba78276ee3ef2d8..2bec9c6fe09bb29cea99a6551fa86ece58afaade 100644 (file)
@@ -15,7 +15,7 @@ for module in slhc ppp_generic pppox pppoe; do
 done
 
 while :; do
-       IFNAME=$(nvram get pppoe_ifname)
+       IFNAME=nic-$(nvram get pppoe_ifname)
        USERNAME=$(nvram get ppp_username)
        PASSWORD=$(nvram get ppp_passwd)
        REDIAL=$(nvram get ppp_redialperiod)