2013-05-03 01:09:46 +02:00
|
|
|
#!/bin/sh
|
2013-05-14 15:09:56 +02:00
|
|
|
|
2013-05-14 11:34:55 +02:00
|
|
|
if [ -f /etc/banner.default ]; then
|
|
|
|
mv /etc/banner.default /etc/banner
|
|
|
|
fi
|
2013-05-14 15:09:56 +02:00
|
|
|
|
2013-07-05 16:26:04 +02:00
|
|
|
rmdir /usr/share/lua/wifibox/network
|
2013-08-20 22:38:16 +02:00
|
|
|
rmdir /usr/share/lua/wifibox/rest/api
|
2013-07-05 16:26:04 +02:00
|
|
|
rmdir /usr/share/lua/wifibox/rest
|
|
|
|
rmdir /usr/share/lua/wifibox/script
|
2013-08-20 22:38:16 +02:00
|
|
|
rmdir /usr/share/lua/wifibox/test/www 2> /dev/null
|
|
|
|
rmdir /usr/share/lua/wifibox/test 2> /dev/null
|
2013-07-05 16:26:04 +02:00
|
|
|
rmdir /usr/share/lua/wifibox/util
|
|
|
|
rmdir /usr/share/lua/wifibox
|
2013-05-14 15:09:56 +02:00
|
|
|
rmdir /usr/share/lua
|
|
|
|
|
2013-08-20 22:38:16 +02:00
|
|
|
# Try to remove all www directories used by the package, and intentionally leave anything non-empty alone
|
|
|
|
rmdir /www/js/libs
|
|
|
|
rmdir /www/js
|
|
|
|
rmdir /www/img/buttons
|
|
|
|
rmdir /www/img
|
|
|
|
rmdir /www/css
|
|
|
|
rm /www/test 2> /dev/null
|
|
|
|
rmdir /www/cgi-bin
|
|
|
|
|
2013-05-14 11:34:55 +02:00
|
|
|
echo "The wifibox banner has been removed. Changes to the root profile however, have"
|
|
|
|
echo "not been reverted, as haven't the wlan firewall zone and the radio0 device state."
|
|
|
|
echo "NOTE: config changes have not been implemented yet."
|
2013-05-14 17:26:21 +02:00
|
|
|
|
|
|
|
exit 0
|