watchdog: Bump the pr, depend on the $localfs to fix the systemd init

systemd is using the depedencies of the LSB section and according to
the debian documentation all applications accessing /var should depend
on the localfs. This makes the watchdog start properly on systemd systems.
This commit is contained in:
Holger Hans Peter Freyther 2012-09-16 18:17:17 +08:00
parent 9c3b75040a
commit 96c91eb8d6
2 changed files with 5 additions and 5 deletions

View File

@ -5,8 +5,8 @@
### BEGIN INIT INFO
# Provides: watchdog
# Short-Description: Start software watchdog daemon
# Required-Start: $all
# Required-Stop: $all
# Required-Start: $local_fs
# Required-Stop:
# Should-Start:
# Should-Stop:
# Default-Start: S
@ -67,8 +67,8 @@ case "$1" in
force-reload)
if [ $run_watchdog = 0 ]; then exit 0; fi
echo "Restarting ${NAME}"
stop
start
$0 stop
$0 start
;;
*)

View File

@ -1,6 +1,6 @@
SYSMOCOM := "${@os.path.dirname(bb.data.getVar('FILE', d, True))}"
FILESEXTRAPATHS_prepend := "${SYSMOCOM}/${PN}-${PV}:${SYSMOCOM}/${PN}"
PRINC = "7"
PRINC = "8"
inherit update-rc.d