Change Details
target/linux/omap24xx/base-files/etc/init.d/watchdog |
| 1 | #!/bin/sh /etc/rc.common |
| 2 | # Copyright (C) 2008-2010 OpenWrt.org |
| 3 | |
| 4 | START=97 |
| 5 | start() { |
| 6 | if ! [ -c /dev/watchdog -a -x /sbin/watchdog ]; then |
| 7 | echo "WARNING: Watchdog not available. System will reboot soon!" |
| 8 | else |
| 9 | /sbin/watchdog -T 63 -t 53 /dev/watchdog |
| 10 | fi |
| 11 | } |
| 12 | |
| 13 | stop() { |
| 14 | killall -q watchdog |
| 15 | } |
target/linux/omap24xx/base-files/etc/inittab |
| 1 | ::sysinit:/etc/init.d/rcS S boot |
| 2 | ::shutdown:/etc/init.d/rcS K stop |
| 3 | tts/0::askfirst:/bin/ash --login |
| 4 | ttyS2::askfirst:/bin/ash --login |
| 5 | tty1::askfirst:/bin/ash --login |
Download the corresponding diff file