summaryrefslogtreecommitdiffhomepage
path: root/dummy/proto/ppp.sh
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2011-10-13 15:03:29 +0200
committerFelix Fietkau <nbd@openwrt.org>2011-10-13 15:03:29 +0200
commit2ac630138173e111e16b9c544d9da53f3af97f2e (patch)
treeec0d26f24d9aae50c76f46cbb20e647e207a2533 /dummy/proto/ppp.sh
parent5e5cd11724f6cf86edc5796e6b805573c767f757 (diff)
proto-shell: add dns server support
Diffstat (limited to 'dummy/proto/ppp.sh')
-rwxr-xr-xdummy/proto/ppp.sh1
1 files changed, 1 insertions, 0 deletions
diff --git a/dummy/proto/ppp.sh b/dummy/proto/ppp.sh
index 13c4ebb..e7b9839 100755
--- a/dummy/proto/ppp.sh
+++ b/dummy/proto/ppp.sh
@@ -38,6 +38,7 @@ pppoe_setup() {
echo "pppoe_setup($1, $2), username=$username, password=$password"
proto_init_update ppp0 1
proto_add_ipv4_address "192.168.2.1" 32
+ proto_add_dns_server "192.168.2.2"
proto_send_update "$1"
proto_run_command sleep 10
}