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@lists.openwrt.org
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel

Reply via email to