[LEDE-DEV] [PATCH] lantiq: dsl_notify: also restart pppoe interfaces

Valentin Spreckels Valentin.Spreckels at Informatik.Uni-Oldenburg.DE
Mon May 8 15:44:14 PDT 2017


Signed-off-by: Valentin Spreckels <Valentin.Spreckels at Informatik.Uni-Oldenburg.DE>
---
 target/linux/lantiq/base-files/sbin/dsl_notify.sh | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/target/linux/lantiq/base-files/sbin/dsl_notify.sh b/target/linux/lantiq/base-files/sbin/dsl_notify.sh
index 11ada92..8503ab4 100755
--- a/target/linux/lantiq/base-files/sbin/dsl_notify.sh
+++ b/target/linux/lantiq/base-files/sbin/dsl_notify.sh
@@ -33,7 +33,7 @@ for ifc in $interfaces; do
 	json_load "$(ifstatus $ifc)"
 
 	json_get_var proto proto
-	if [ "$proto" != "pppoa" ]; then
+	if [ "$proto" != "pppoa" -a "$proto" != "pppoe" ]; then
 		continue
 	fi
 
-- 
2.10.2




More information about the Lede-dev mailing list