0
0
mirror of https://github.com/Doodle3D/doodle3d-firmware.git synced 2024-12-22 02:53:49 +01:00

More fixes to changed paths and names.

This commit is contained in:
Wouter R 2013-07-05 16:26:04 +02:00
parent 0b298b5e46
commit ef87b18ed9
6 changed files with 12 additions and 16 deletions

3
post-install.sh Executable file → Normal file
View File

@ -61,9 +61,6 @@ fi
### Finally make sure basic configuration is set correctly
echo "s_$IPKG_INSTROOT_"
echo "ss_$$IPKG_INSTROOT_"
echo "ssa_$${IPKG_INSTROOT}_"
if [ -z "$IPKG_INSTROOT" ]; then
echo "Enabling wifi device..."
uci set wireless.@wifi-device[0].disabled=0; uci commit wireless; wifi

17
post-remove.sh Executable file → Normal file
View File

@ -4,16 +4,15 @@ if [ -f /etc/banner.default ]; then
mv /etc/banner.default /etc/banner
fi
rmdir /usr/share/lua/autowifi/ext/www/cgi-bin
rm /usr/share/lua/autowifi/ext/www/admin
rmdir /usr/share/lua/autowifi/ext/www
rmdir /usr/share/lua/autowifi/admin
rmdir /usr/share/lua/autowifi/ext
rmdir /usr/share/lua/autowifi/misc
rmdir /usr/share/lua/autowifi
rmdir /usr/share/lua/wifibox/www/wifibox
rmdir /usr/share/lua/wifibox/www
rmdir /usr/share/lua/wifibox/network
rmdir /usr/share/lua/wifibox/rest
rmdir /usr/share/lua/wifibox/script
rmdir /usr/share/lua/wifibox/util
rmdir /usr/share/lua/wifibox
rmdir /usr/share/lua
rm /www/admin
rmdir /www/cgi-bin
rm /www/wifibox
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."

View File

@ -1,7 +1,7 @@
#!/bin/sh
if [ -z "$$IPKG_INSTROOT" ]; then
/etc/init.d/autowifi_init disable
/etc/init.d/wifibox_init disable
fi
exit 0

View File

@ -19,7 +19,7 @@ io.write ("Content-type: text/plain\r\n\r\n")
local u = require("util")
local l = require("logger")
local wifi = require("network.wlanconfig")
local reconf = require("network.netconf")
local reconf = require("network.netconfig")
local urlcode = require("util.urlcode")
local uci = require("uci").cursor()
local iwinfo = require("iwinfo")

View File

@ -1,4 +1,4 @@
local reconf = require("network.netconf")
local reconf = require("network.netconfig")
local util = require("util")
local l = require("logger")
local uci = require("uci").cursor()

View File

@ -1,5 +1,5 @@
#!/bin/sh
#chmod 755 /www/cgi-bin/wfcf
#chmod 755 /www/cgi-bin/d3dapi
LUA=lua
SCRIPT_PATH=/usr/share/lua/wifibox