mirror of
https://github.com/Doodle3D/doodle3d-firmware.git
synced 2024-12-22 11:03:48 +01:00
More fixes to changed paths and names.
This commit is contained in:
parent
0b298b5e46
commit
ef87b18ed9
3
post-install.sh
Executable file → Normal file
3
post-install.sh
Executable file → Normal file
@ -61,9 +61,6 @@ fi
|
|||||||
|
|
||||||
### Finally make sure basic configuration is set correctly
|
### 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
|
if [ -z "$IPKG_INSTROOT" ]; then
|
||||||
echo "Enabling wifi device..."
|
echo "Enabling wifi device..."
|
||||||
uci set wireless.@wifi-device[0].disabled=0; uci commit wireless; wifi
|
uci set wireless.@wifi-device[0].disabled=0; uci commit wireless; wifi
|
||||||
|
17
post-remove.sh
Executable file → Normal file
17
post-remove.sh
Executable file → Normal file
@ -4,16 +4,15 @@ if [ -f /etc/banner.default ]; then
|
|||||||
mv /etc/banner.default /etc/banner
|
mv /etc/banner.default /etc/banner
|
||||||
fi
|
fi
|
||||||
|
|
||||||
rmdir /usr/share/lua/autowifi/ext/www/cgi-bin
|
rmdir /usr/share/lua/wifibox/www/wifibox
|
||||||
rm /usr/share/lua/autowifi/ext/www/admin
|
rmdir /usr/share/lua/wifibox/www
|
||||||
rmdir /usr/share/lua/autowifi/ext/www
|
rmdir /usr/share/lua/wifibox/network
|
||||||
rmdir /usr/share/lua/autowifi/admin
|
rmdir /usr/share/lua/wifibox/rest
|
||||||
rmdir /usr/share/lua/autowifi/ext
|
rmdir /usr/share/lua/wifibox/script
|
||||||
rmdir /usr/share/lua/autowifi/misc
|
rmdir /usr/share/lua/wifibox/util
|
||||||
rmdir /usr/share/lua/autowifi
|
rmdir /usr/share/lua/wifibox
|
||||||
rmdir /usr/share/lua
|
rmdir /usr/share/lua
|
||||||
rm /www/admin
|
rm /www/wifibox
|
||||||
rmdir /www/cgi-bin
|
|
||||||
|
|
||||||
echo "The wifibox banner has been removed. Changes to the root profile however, have"
|
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 "not been reverted, as haven't the wlan firewall zone and the radio0 device state."
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
|
|
||||||
if [ -z "$$IPKG_INSTROOT" ]; then
|
if [ -z "$$IPKG_INSTROOT" ]; then
|
||||||
/etc/init.d/autowifi_init disable
|
/etc/init.d/wifibox_init disable
|
||||||
fi
|
fi
|
||||||
|
|
||||||
exit 0
|
exit 0
|
||||||
|
@ -19,7 +19,7 @@ io.write ("Content-type: text/plain\r\n\r\n")
|
|||||||
local u = require("util")
|
local u = require("util")
|
||||||
local l = require("logger")
|
local l = require("logger")
|
||||||
local wifi = require("network.wlanconfig")
|
local wifi = require("network.wlanconfig")
|
||||||
local reconf = require("network.netconf")
|
local reconf = require("network.netconfig")
|
||||||
local urlcode = require("util.urlcode")
|
local urlcode = require("util.urlcode")
|
||||||
local uci = require("uci").cursor()
|
local uci = require("uci").cursor()
|
||||||
local iwinfo = require("iwinfo")
|
local iwinfo = require("iwinfo")
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
local reconf = require("network.netconf")
|
local reconf = require("network.netconfig")
|
||||||
local util = require("util")
|
local util = require("util")
|
||||||
local l = require("logger")
|
local l = require("logger")
|
||||||
local uci = require("uci").cursor()
|
local uci = require("uci").cursor()
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
#chmod 755 /www/cgi-bin/wfcf
|
#chmod 755 /www/cgi-bin/d3dapi
|
||||||
|
|
||||||
LUA=lua
|
LUA=lua
|
||||||
SCRIPT_PATH=/usr/share/lua/wifibox
|
SCRIPT_PATH=/usr/share/lua/wifibox
|
||||||
|
Loading…
Reference in New Issue
Block a user