projects
/
project
/
netifd.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
add wrappers to parse setup/teardown data
[project/netifd.git]
/
dummy
/
proto
/
ppp.sh
diff --git
a/dummy/proto/ppp.sh
b/dummy/proto/ppp.sh
index
cd57145
..
9a35fc9
100755
(executable)
--- a/
dummy/proto/ppp.sh
+++ b/
dummy/proto/ppp.sh
@@
-32,7
+32,9
@@
pppoe_init() {
}
pppoe_setup() {
- echo "pppoe_setup($1, $3): $2"
+ json_get_var username username
+ json_get_var password password
+ echo "pppoe_setup($1, $2), username=$username, password=$password"
}
pppoe_teardown() {