summaryrefslogtreecommitdiffhomepage
path: root/modules/niu/root
diff options
context:
space:
mode:
authorSteven Barth <steven@midlink.org>2009-11-16 16:58:48 +0000
committerSteven Barth <steven@midlink.org>2009-11-16 16:58:48 +0000
commit2176dae3a0a648805f7de447e4af7ead8b7655dd (patch)
tree877c2986165224e1982cdbae350b3f1d35fc50a2 /modules/niu/root
parentefe5fc77f9c76ca75ae0e4c1735065589d5047c8 (diff)
NIU:
+PortFw +QoS Reorganize Network
Diffstat (limited to 'modules/niu/root')
-rw-r--r--modules/niu/root/etc/uci-defaults/luci-niu-firstrun7
1 files changed, 7 insertions, 0 deletions
diff --git a/modules/niu/root/etc/uci-defaults/luci-niu-firstrun b/modules/niu/root/etc/uci-defaults/luci-niu-firstrun
new file mode 100644
index 000000000..3462a38ee
--- /dev/null
+++ b/modules/niu/root/etc/uci-defaults/luci-niu-firstrun
@@ -0,0 +1,7 @@
+#!/bin/sh
+# Disable some services by default
+
+uci get luci.main._niuinit && exit 0
+uci set qos.wan.enabled=0
+uci set upnpd.config.external_iface=none
+uci set luci.main._niuinit=1 \ No newline at end of file