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
+}
signature.asc
Description: PGP signature
_______________________________________________ openwrt-devel mailing list [email protected] https://lists.openwrt.org/mailman/listinfo/openwrt-devel
