Patch busybox watchdog to fix restarts

It is possible the watchdog device is configured to do
something other than reset the system on a watchdog timeout.
If this occurs, and the busybox watchdog is started back up again,
the watchdog driver won't actually start the watchdog hardware
unless the watchdog device has been properly closed first.

So, on startup, write the magic character to the watchdog
device to properly close it before running.

Change-Id: I61521d337a958c9dc8f9a6786a65aee3e81994ac
Signed-off-by: Matt Spinler <spinler@us.ibm.com>
2 files changed
tree: 11bd89e47cf2d4f5b149d25179b0517ace2c73a1
  1. classes/
  2. common/
  3. conf/
  4. COPYING.apache-2.0
  5. COPYING.MIT
  6. LICENSE