diff options
author | Felix Fietkau <nbd@openwrt.org> | 2011-10-10 02:02:29 +0200 |
---|---|---|
committer | Felix Fietkau <nbd@openwrt.org> | 2011-10-10 02:02:29 +0200 |
commit | e8a8f555aac97b47bd036264b598affec66f96d5 (patch) | |
tree | 03df0af00597c372b3ce1d639c25be0e8915a681 /dummy/proto | |
parent | ef6ded206fcebd9852df1f649139afd05db60985 (diff) |
add wrappers to parse setup/teardown data
Diffstat (limited to 'dummy/proto')
-rwxr-xr-x | dummy/proto/ppp.sh | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/dummy/proto/ppp.sh b/dummy/proto/ppp.sh index cd57145..9a35fc9 100755 --- 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() { |