On Monday 03 May 2010 05:47:45 Yury Polyanskiy wrote:
> Dear all,
>
> Here is a simple patch to provide /etc/init.d/watchdog stop. Just in
> case someone is interested.
>
> Index: package/base-files/files/etc/init.d/watchdog
> ===================================================================
> --- package/base-files/files/etc/init.d/watchdog (revision 21164)
> +++ package/base-files/files/etc/init.d/watchdog (working copy)
> @@ -6,3 +6,8 @@
> [ -c /dev/watchdog ] && [ -x /sbin/watchdog ] && \
> watchdog -t 5 /dev/watchdog
> }
> +
> +stop() {
> + killall -q watchdog
> + [ -c /dev/watchdog ] && echo "V" > /dev/watchdog
> +}
Applied in r21334, thanks!
--
Florian
_______________________________________________
openwrt-devel mailing list
[email protected]
https://lists.openwrt.org/mailman/listinfo/openwrt-devel