summaryrefslogtreecommitdiffhomepage
path: root/modules/niu/root/etc/uci-defaults/luci-niu-firstrun
diff options
context:
space:
mode:
Diffstat (limited to 'modules/niu/root/etc/uci-defaults/luci-niu-firstrun')
-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