proto_add_ipv4_address "192.168.2.1" 32
proto_add_dns_server "192.168.2.2"
proto_send_update "$interface"
- proto_run_command "$interface" sleep 10
+ proto_run_command "$interface" sleep 30
}
pppoe_teardown() {
+ [ "$ERROR" = 9 ] && {
+ proto_notify_error "$interface" PROCESS_KILLED
+ proto_block_restart "$interface"
+ }
proto_kill_command "$interface"
return
}