2 # This will restore default "factory" settings before running the meshwizard
3 # and is used when cleanup=1
4 # Warning: This will reset network settings for wan and lan to defaults too.
6 echo "+ Restore default config as requested with cleanup=1"
7 cp -f /rom
/etc
/config
/* /etc
/config
/
8 rm /etc
/config
/wireless
9 wifi detect
> /etc
/config
/wireless
10 rm /etc
/config
/network
11 /etc
/init.d
/defconfig start