Re: [OpenWrt-Devel] [PATCH] Stopping watchdog

2010-05-03 Thread Jo-Philipp Wich
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 The char "V" is the magic value to stop watchdog timers in linux (if implemented by the corresponding driver) ~ Jow -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.9 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iEYEAR

Re: [OpenWrt-Devel] [PATCH] Stopping watchdog

2010-05-03 Thread edgar . soldin
On 03.05.2010 15:59, Yury Polyanskiy wrote: On Mon, 3 May 2010 09:35:59 + Vasilis Tsiligiannis wrote: + [ -c /dev/watchdog ]&& echo "V"> /dev/watchdog Why is this needed? busybox watchdog applet writes the magic on shutdown. What is magic? In this context .. thanks ede __

Re: [OpenWrt-Devel] [PATCH] Stopping watchdog

2010-05-03 Thread Yury Polyanskiy
On Mon, 3 May 2010 09:35:59 + Vasilis Tsiligiannis wrote: > > + [ -c /dev/watchdog ] && echo "V" > /dev/watchdog > > Why is this needed? busybox watchdog applet writes the magic on shutdown. Ah, I didn't know it. Anyways, one line of code for extra-safety wouldn't hurt. signature.a

Re: [OpenWrt-Devel] [PATCH] Stopping watchdog

2010-05-03 Thread Florian Fainelli
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 > === >