watchdog: Start the watchdog script in rcS.d as early as possible

This needs to be started after udev, after loading modules.
This commit is contained in:
Holger Hans Peter Freyther 2012-05-16 21:46:07 +08:00
parent 6d69dba610
commit 7aaa4cc880
2 changed files with 4 additions and 4 deletions

View File

@ -9,8 +9,8 @@
# Required-Stop: $all
# Should-Start:
# Should-Stop:
# Default-Start: 2 3 4 5
# Default-Stop: 0 1 6
# Default-Start: S
# Default-Stop:
### END INIT INFO
PATH=/bin:/usr/bin:/sbin:/usr/sbin

View File

@ -1,6 +1,6 @@
SYSMOCOM := "${@os.path.dirname(bb.data.getVar('FILE', d, True))}"
FILESEXTRAPATHS_prepend := "${SYSMOCOM}/${PN}-${PV}:"
PRINC = "4"
PRINC = "6"
inherit update-rc.d
@ -19,7 +19,7 @@ do_install_append() {
CONFFILES_${PN} = "${sysconfdir}/watchdog.conf"
INITSCRIPT_PACKAGES = "${PN}"
INITSCRIPT_NAME_${PN} = "watchdog"
INITSCRIPT_PARAMS_${PN} = "defaults 0 99"
INITSCRIPT_PARAMS_${PN} = "start 06 S ."
# bug in poky meta/classes/base.bbclass?
PACKAGE_ARCH = "${MACHINE_ARCH}"