diff options
author | Felix Fietkau <nbd@openwrt.org> | 2012-05-05 14:42:05 +0200 |
---|---|---|
committer | Felix Fietkau <nbd@openwrt.org> | 2012-05-05 14:42:05 +0200 |
commit | c78fa1d049d932dae93c64f7819e112083cd3d55 (patch) | |
tree | 9c7805883a579cda3ad28f28a0fb6824284a8b79 /dummy/proto/ppp.sh | |
parent | 30a45900113f98c177367507711f9c0cbd1010b2 (diff) |
rename the interface of the dummy pppoe script
Diffstat (limited to 'dummy/proto/ppp.sh')
-rwxr-xr-x | dummy/proto/ppp.sh | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/dummy/proto/ppp.sh b/dummy/proto/ppp.sh index 5bc3ea6..c710bf2 100755 --- a/dummy/proto/ppp.sh +++ b/dummy/proto/ppp.sh @@ -36,7 +36,7 @@ proto_pppoe_setup() { json_get_var username username json_get_var password password echo "pppoe_setup($interface, $device), username=$username, password=$password" - proto_init_update ppp0 1 + proto_init_update pppoe-$interface 1 proto_set_keep 1 proto_add_ipv4_address "192.168.2.1" 32 proto_add_dns_server "192.168.2.2" @@ -46,7 +46,7 @@ proto_pppoe_setup() { proto_close_data proto_send_update "$interface" - proto_init_update ppp0 1 + proto_init_update pppoe-$interface 1 proto_set_keep 1 proto_add_ipv6_address "fe80::2" 64 proto_add_ipv6_route "::0" 0 "fe80::1" |