[OpenWrt-Devel] procd / hang during shutdown/startup / regression?

Bastian Bittorf bittorf at bluebottle.com
Fri Aug 22 03:22:18 EDT 2014


i while ago, procd implemented a timeout (15 sec) for
hanging tasks during startup/init. this works and can
be easily checked with placing this snippet in any
startup-script:

start()
{
	local i=300
	while let i-=1; do
		echo "still running: $i" >>/tmp/CHECK
		sleep 1
	done
}

the same for shutdown (STOP-scripts) e.g. umount

tested with r42232 this down not work anymore,
but i'am pretty sure it was working with older versions.

bye, bastian
_______________________________________________
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