From ee9924b6de1e951a1219962c47219eb37d7c7b47 Mon Sep 17 00:00:00 2001 From: Felix Fietkau Date: Tue, 23 Aug 2005 18:09:44 +0000 Subject: [PATCH] fix pppoe init script SVN-Revision: 1740 --- openwrt/package/ppp/files/ifup.pppoe | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/openwrt/package/ppp/files/ifup.pppoe b/openwrt/package/ppp/files/ifup.pppoe index 3367b9778b..9732772af2 100644 --- a/openwrt/package/ppp/files/ifup.pppoe +++ b/openwrt/package/ppp/files/ifup.pppoe @@ -13,7 +13,7 @@ for module in slhc ppp_generic pppox pppoe; do done while :; do - IFNAME=nic-$(nvram get pppoe_ifname) + IFNAME=$(nvram get pppoe_ifname) USERNAME=$(nvram get ppp_username) PASSWORD=$(nvram get ppp_passwd) REDIAL=$(nvram get ppp_redialperiod) @@ -36,5 +36,5 @@ while :; do $MTU \ $IDLETIME \ $REDIAL \ - $IFNAME + nic-$IFNAME done & -- 2.30.2