Good idea!
I removed your Martineau customcode as suggested and added the bootinprogress statement, but at reboot it seems that still execute your code and not exit?
#!/bin/sh
logger -t "($(basename $0))" $$ Martineau customisation starting.... " $0${*:+ $
# With DUAL-WAN, this event gets triggered for both DSL and 3G
# True REBOOT in progress? see init-start
if [ -e /tmp/BOOTINPROGRESS ]; then
BOOTINPROGRESS="YES"
exit
else
# If Semaphore Lock file exists then exit
if [ -e /tmp/wan-start-locked ]; then
....................................... a
I removed your Martineau customcode as suggested and added the bootinprogress statement, but at reboot it seems that still execute your code and not exit?
#!/bin/sh
logger -t "($(basename $0))" $$ Martineau customisation starting.... " $0${*:+ $
# With DUAL-WAN, this event gets triggered for both DSL and 3G
# True REBOOT in progress? see init-start
if [ -e /tmp/BOOTINPROGRESS ]; then
BOOTINPROGRESS="YES"
exit
else
# If Semaphore Lock file exists then exit
if [ -e /tmp/wan-start-locked ]; then
....................................... a