On Thursday 16 June 2011 19:49:13 Ithamar R. Adema wrote: > Hi, > > On Thu, 2011-06-16 at 12:21 +0200, Jo-Philipp Wich wrote: > > Maybe calling "reboot" at all is not such a great idea as it attempts > > to run the (former) init scripts to stop them. > > Maybe using we should use 'reboot -f' here, as that will skip all > userland 'shutdown' handling and simply call the kernel side reboot > handler?
I second that option, using reboot -f should be deterministic no matter what is the system state. > > This *should* flush all disk cache and such, so still be safe from that > point, but keep us out of the usual 'init' handling.... -- Florian _______________________________________________ openwrt-devel mailing list openwrt-devel@lists.openwrt.org https://lists.openwrt.org/mailman/listinfo/openwrt-devel