summaryrefslogtreecommitdiff
path: root/packages/watchdog/watchdog_5.4.bb
blob: ec4cea42a7fef75104c4f9490044b0add77214b2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
DESCRIPTION = "System watchdog daemon"
LICENSE = "GPL"
PR = "r0"

SRC_URI = "http://www.ibiblio.org/pub/Linux/system/daemons/watchdog/${PN}-${PV}.tar.gz \
	file://init"

inherit autotools update-rc.d

INITSCRIPT_NAME = "watchdog"
INITSCRIPT_PARAMS = "defaults 10"

do_install_append() {
	install -d ${D}${sysconfdir}/init.d
	install -m 0755 ${WORKDIR}/init ${D}${sysconfdir}/init.d/watchdog
}