diff options
author | Felix Fietkau <nbd@openwrt.org> | 2011-10-10 16:30:42 +0200 |
---|---|---|
committer | Felix Fietkau <nbd@openwrt.org> | 2011-10-10 16:30:47 +0200 |
commit | 3085170188cc5bf04f4cfb6f07c292e06d2b40a8 (patch) | |
tree | dddf97d12a9e956a5868f0c8016b9908462884ee /dummy/proto | |
parent | bcae80898d18bd8640efae10c3f3dff93c1be3d0 (diff) |
proto-shell: add a library function for sending protocol handler updates
Diffstat (limited to 'dummy/proto')
-rwxr-xr-x | dummy/proto/ppp.sh | 3 |
1 files changed, 3 insertions, 0 deletions
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() { |