0
0
mirror of https://github.com/Doodle3D/doodle3d-firmware.git synced 2024-10-05 17:38:38 +02:00
doodle3d-firmware/post-remove.sh
Wouter R 9e0eab1f8d Properly start and stop signin.sh on package installation and removal.
Clean up package Makefile (it installed and removed too much).
2013-10-22 22:44:51 +02:00

24 lines
685 B
Bash

#!/bin/sh
if [ -f /etc/banner.default ]; then
mv /etc/banner.default /etc/banner
fi
rmdir /usr/share/lua/wifibox/network
rmdir /usr/share/lua/wifibox/rest/api
rmdir /usr/share/lua/wifibox/rest
rmdir /usr/share/lua/wifibox/script
rmdir /usr/share/lua/wifibox/test/www 2> /dev/null
rmdir /usr/share/lua/wifibox/test 2> /dev/null
rmdir /usr/share/lua/wifibox/util
rmdir /usr/share/lua/wifibox
rmdir /usr/share/lua
#rm /www/test 2> /dev/null
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."
exit 0