From b059cf07e0f1009be7f26f86b7930acf901fec32 Mon Sep 17 00:00:00 2001 From: Wouter R Date: Fri, 28 Jun 2013 12:39:48 +0200 Subject: [PATCH] Minor fix. --- TODO | 2 ++ post-install.sh | 2 +- src/autowifi/ext/wfcf | 2 -- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/TODO b/TODO index 84d815e..d3aa860 100644 --- a/TODO +++ b/TODO @@ -5,6 +5,8 @@ reconf.WWW_RENAME_NAME, wifihelper.{AP_ADDRESS, AP_NETMASK, (NET)} about bridging this to lua: have some Makefile stage create a ini/lua file with k/v's and have lua read out that file? https://github.com/2ion/ini.lua +- in captive portal mode, https is not redirected +- postinstall operations should be conditional, or work properly on image creation - write a shellscript to automate tasks like swapping out /www and packaging modified code for git merging - see if updating works when a new version is 'released' (probably needs a real feed) - perhaps opkg+safeboot could be useful in the update mechanism? diff --git a/post-install.sh b/post-install.sh index 1754296..922fc1d 100755 --- a/post-install.sh +++ b/post-install.sh @@ -9,7 +9,7 @@ addFirewallNet() { exists=`echo "$name" | grep "Entry not found" >/dev/null 2>&1; echo $?` if [ $exists -eq 0 ]; then break; fi - if [ $name = "lan" ]; then zoneNum=$i; fi + if [ "x$name" = "xlan" ]; then zoneNum=$i; fi i=`expr $i + 1` done diff --git a/src/autowifi/ext/wfcf b/src/autowifi/ext/wfcf index 1fd5073..ffb527c 100755 --- a/src/autowifi/ext/wfcf +++ b/src/autowifi/ext/wfcf @@ -6,5 +6,3 @@ SCRIPT_PATH=/usr/share/lua/autowifi cd $SCRIPT_PATH $LUA ./autowifi.lua $@ - -#$LUA $SCRIPT_PATH/autowifi.lua $@