[OpenWrt-Devel] [PATCH] add "preinit_regular" diag.sh set_state argument
Hannu Nyman
hannu.nyman at iki.fi
Mon Dec 15 13:05:37 EST 2014
Now that there is a recognisable change in the LED blinking rate, would it be
also ok to lengthen the "failsafe waiting time" from 2 seconds to something
longer? That short time, defined in /etc/preinit, has always been one of the
headaches in entering the failsafe mode. I have lengthened it to 4 seconds in
my own build, so that the user has a slightly longer window to react.
2 seconds has been originally defined by r17470 in 2009 and maintained in the
preinit reorganisation by r19331 in 2010.
Waiting timeout is defined here on line 19 of /etc/preinit:
https://dev.openwrt.org/browser/trunk/package/base-files/files/etc/preinit#L19
fs_failsafe_wait_timeout=2
and it is used on line 90 of 30_failsafe_wait
https://dev.openwrt.org/browser/trunk/package/base-files/files/lib/preinit/30_failsafe_wait#L90
_______________________________________________
openwrt-devel mailing list
openwrt-devel at lists.openwrt.org
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel
More information about the openwrt-devel
mailing list