summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPhil Blundell <philb@gnu.org>2004-12-04 22:42:39 +0000
committerPhil Blundell <philb@gnu.org>2004-12-04 22:42:39 +0000
commit6530b589164ff7ed3fb2633bae8df40487d82461 (patch)
treee7266124478f1d6bf58002d847edb9b1f6b4a5be
parent5b557214fee333026812cc51f5ebffdfd46fc106 (diff)
add initscript for bootlogd to sysvinit
BKrev: 41b23d5fR7wtMhxAYT4MAgFf4AZQew
-rw-r--r--sysvinit/sysvinit_2.86.oe13
1 files changed, 11 insertions, 2 deletions
diff --git a/sysvinit/sysvinit_2.86.oe b/sysvinit/sysvinit_2.86.oe
index 4c698c7aa5..d3b9c77475 100644
--- a/sysvinit/sysvinit_2.86.oe
+++ b/sysvinit/sysvinit_2.86.oe
@@ -5,7 +5,7 @@ MAINTAINER = "Chris Larson <kergoth@handhelds.org>"
HOMEPAGE = "http://freshmeat.net/projects/sysvinit/"
FILES_${PN} += "/sbin /bin"
-PR = "r0"
+PR = "r1"
# USE_VT and SERIAL_CONSLE are generally defined by the MACHINE .conf.
# Set PACKAGE_ARCH appropriately.
@@ -21,7 +21,8 @@ SRC_URI = "ftp://ftp.cistron.nl/pub/people/miquels/sysvinit/sysvinit-2.85.tar.gz
file://inittab \
file://rcS-default \
file://rc \
- file://rcS"
+ file://rcS \
+ file://bootlogd.init"
S = "${WORKDIR}/sysvinit-2.85"
B = "${S}/src"
@@ -63,6 +64,14 @@ EOF
install -m 0644 ${WORKDIR}/rcS-default ${D}/etc/default/rcS
install -m 0755 ${WORKDIR}/rc ${D}/etc/init.d
install -m 0755 ${WORKDIR}/rcS ${D}/etc/init.d
+ install -m 0755 ${WORKDIR}/bootlogd.init ${D}/etc/init.d/bootlogd
+ ln -sf bootlogd ${D}/etc/init.d/stop-bootlogd
+ install -d ${D}/etc/rcS.d
+ ln -sf ../init.d/bootlogd ${D}/etc/rcS.d/S07bootlogd
+ for level in 2 3 4 5; do
+ install -d ${D}/etc/rc$level.d
+ ln -s ../init.d/stop-bootlogd ${D}/etc/rc$level.d/
+ done
}