summaryrefslogtreecommitdiffhomepage
path: root/contrib/package/meshwizard/files/usr
diff options
context:
space:
mode:
authorManuel Munz <munz@comuno.net>2015-05-30 16:56:18 +0200
committerManuel Munz <munz@comuno.net>2015-05-30 16:56:18 +0200
commit458c3c1366202e44377e1321cf2886c7b209f4d5 (patch)
tree1ae96361e924fd95a02a8bcffd800f1ad36caf5c /contrib/package/meshwizard/files/usr
parent1dada8cc4436a9cfb1a8a8e67085a7aadfec25cd (diff)
contrib/meshwizard: fix interaction with uci in OpenWrt CC, see https://dev.openwrt.org/ticket/19539
Diffstat (limited to 'contrib/package/meshwizard/files/usr')
-rwxr-xr-xcontrib/package/meshwizard/files/usr/bin/meshwizard/helpers/restore_default_config.sh11
1 files changed, 0 insertions, 11 deletions
diff --git a/contrib/package/meshwizard/files/usr/bin/meshwizard/helpers/restore_default_config.sh b/contrib/package/meshwizard/files/usr/bin/meshwizard/helpers/restore_default_config.sh
deleted file mode 100755
index 3f6ce3587d..0000000000
--- a/contrib/package/meshwizard/files/usr/bin/meshwizard/helpers/restore_default_config.sh
+++ /dev/null
@@ -1,11 +0,0 @@
-#!/bin/sh
-# This will restore default "factory" settings before running the meshwizard
-# and is used when cleanup=1
-# Warning: This will reset network settings for wan and lan to defaults too.
-
-echo "+ Restore default config as requested with cleanup=1"
-cp -f /rom/etc/config/* /etc/config/
-rm /etc/config/wireless
-wifi detect > /etc/config/wireless
-rm /etc/config/network
-/etc/init.d/defconfig start