From 3085170188cc5bf04f4cfb6f07c292e06d2b40a8 Mon Sep 17 00:00:00 2001 From: Felix Fietkau Date: Mon, 10 Oct 2011 16:30:42 +0200 Subject: proto-shell: add a library function for sending protocol handler updates --- dummy/proto/ppp.sh | 3 +++ 1 file changed, 3 insertions(+) (limited to 'dummy/proto') diff --git a/dummy/proto/ppp.sh b/dummy/proto/ppp.sh index 5078833..adce2ca 100755 --- a/dummy/proto/ppp.sh +++ b/dummy/proto/ppp.sh @@ -36,6 +36,9 @@ pppoe_setup() { json_get_var username username json_get_var password password echo "pppoe_setup($1, $2), username=$username, password=$password" + proto_init_update ppp0 1 + proto_add_ipv4_address "192.168.2.1" 32 + proto_send_update "$1" } pppoe_teardown() { -- cgit v1.2.3