contrib/meshwizard: fix interaction with uci in OpenWrt CC, see https://dev.openwrt...
authorManuel Munz <munz@comuno.net>
Sat, 30 May 2015 14:56:18 +0000 (16:56 +0200)
committerManuel Munz <munz@comuno.net>
Sat, 30 May 2015 14:56:18 +0000 (16:56 +0200)
contrib/package/meshwizard/files/usr/bin/meshwizard/helpers/restore_default_config.sh [deleted file]

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 (executable)
index 3f6ce35..0000000
+++ /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