diff options
Diffstat (limited to 'package/query3g/files/query3g_setup.sh')
-rw-r--r-- | package/query3g/files/query3g_setup.sh | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/package/query3g/files/query3g_setup.sh b/package/query3g/files/query3g_setup.sh new file mode 100644 index 000000000..bfc05c0e5 --- /dev/null +++ b/package/query3g/files/query3g_setup.sh @@ -0,0 +1,13 @@ +#!/bin/sh + +dev=`uci get query3g.dongle.device` +pin=`uci get query3g.dongle.pin` + +uci set network.wan.proto=3g +uci set network.wan.ifname=ppp0 +uci set network.wan.username=umts +uci set network.wan.password=umts +uci set network.wan.device=$dev +uci set network.wan.pin=$pin + +uci commit network |