projects
/
project
/
netifd.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
proto-shell: add a library function for sending protocol handler updates
[project/netifd.git]
/
dummy
/
proto
/
ppp.sh
diff --git
a/dummy/proto/ppp.sh
b/dummy/proto/ppp.sh
index
5078833
..
adce2ca
100755
(executable)
--- 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() {