X-Git-Url: https://git.archive.openwrt.org/?a=blobdiff_plain;f=dummy%2Fproto%2Fppp.sh;h=6f5dfcc3292e1b3fe1dd6d3c63f200ee0f4e645e;hb=14f7651a6e61ccd870be78dd6b303057ea982414;hp=f78933cc42dd33f74d5e2d3c0374ef00cb7f8dfa;hpb=31e8b6e9a4c0db86d27f6bdb21678bb48735a8a1;p=project%2Fnetifd.git diff --git a/dummy/proto/ppp.sh b/dummy/proto/ppp.sh index f78933c..6f5dfcc 100755 --- a/dummy/proto/ppp.sh +++ b/dummy/proto/ppp.sh @@ -47,6 +47,10 @@ pppoe_setup() { } pppoe_teardown() { + [ "$ERROR" = 9 ] && { + proto_notify_error "$interface" PROCESS_KILLED + proto_block_restart "$interface" + } proto_kill_command "$interface" return }