watchdog/watchdog-initscript.diff

32 lines
802 B
Diff

--- watchdog-5.15/suse/rc.watchdog.suse 2018/05/22 23:09:48 1.1
+++ watchdog-5.15/suse/rc.watchdog.suse 2018/05/22 23:15:09
@@ -4,14 +4,25 @@
# Author: Thorsten Bonow (Toto) <tb@lmbau.rwth-aachen.de>, 2000
# Based on example /sbin/init.d/skeleton=20
#
-# /sbin/init.d/<watchdog.toto>
+# /sbin/init.d/watchdog
#
# and symbolic its link
#
-# /sbin/rc<watchdog.toto>
+# /sbin/rcwatchdog
#
+### BEGIN INIT INFO
+# Provides: watchdog
+# Required-Start: $time $syslog
+# Required-Stop: $time $syslog
+# Should-Start: $none
+# Should-Stop: $none
+# Default-Start: 3 5
+# Default-Stop: 0 1 2 4 6
+# Description: Watchdog Daemon
+### END INIT INFO
-. /etc/rc.config
+
+. /etc/rc.status
# Determine the base and follow a runlevel link name.
base=${0##*/}