if [ -L "/tmp/opt" ]; then
rm -f /tmp/opt 2> /dev/null
rm -f /opt 2> /dev/null
fi
if [ -d "$(nvram get apps_mounted_path)/$(nvram get apps_install_folder)" ]; then
rm -rf "$(nvram get apps_mounted_path)/$(nvram get apps_install_folder)"
fi
nvram set apps_mounted_path=
nvram set apps_dev=
nvram set apps_state_autorun=
nvram set apps_state_enable=
nvram set apps_state_install=
nvram set apps_state_switch=
nvram commit
launched. Set restarted... thanks a lot!If not, the this bit of code resets everything:
Code:if [ -L "/tmp/opt" ]; then rm -f /tmp/opt 2> /dev/null rm -f /opt 2> /dev/null fi if [ -d "$(nvram get apps_mounted_path)/$(nvram get apps_install_folder)" ]; then rm -rf "$(nvram get apps_mounted_path)/$(nvram get apps_install_folder)" fi nvram set apps_mounted_path= nvram set apps_dev= nvram set apps_state_autorun= nvram set apps_state_enable= nvram set apps_state_install= nvram set apps_state_switch= nvram commit
Thread starter | Title | Forum | Replies | Date |
---|---|---|---|---|
M | Diversion Diversion failed to update. Check the Diversion-web-update.log with sf in the SSH UI. | Asuswrt-Merlin AddOns | 4 | |
|
Solved CakeQOS not limiting download | Asuswrt-Merlin AddOns | 14 |
Welcome To SNBForums
SNBForums is a community for anyone who wants to learn about or discuss the latest in wireless routers, network storage and the ins and outs of building and maintaining a small network.
If you'd like to post a question, simply register and have at it!
While you're at it, please check out SmallNetBuilder for product reviews and our famous Router Charts, Ranker and plenty more!