summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Lauer <mickey@vanille-media.de>2004-12-01 18:03:15 +0000
committerMichael Lauer <mickey@vanille-media.de>2004-12-01 18:03:15 +0000
commitee54377f8ab606a781514118b5ff9b1bd39983dc (patch)
tree5af4ecdd37541f277dcc4a7f062c74f528f3709b
parentd5cc2fad97ec2640698c261d6da50f53733adb94 (diff)
Merge bk://oe-devel@oe-devel.bkbits.net/packages
into r2d2.tm.informatik.uni-frankfurt.de:/local/pkg/oe/packages 2004/12/01 19:03:03+01:00 uni-frankfurt.de!mickeyl add sltime initscript to slutils which saves time between reboots BKrev: 41ae076333RI8amjXqzZayCA6WO3kg
-rw-r--r--slutils/files/sltime.sh0
-rw-r--r--slutils/slutils_0.1.0.oe12
2 files changed, 10 insertions, 2 deletions
diff --git a/slutils/files/sltime.sh b/slutils/files/sltime.sh
new file mode 100644
index 0000000000..e69de29bb2
--- /dev/null
+++ b/slutils/files/sltime.sh
diff --git a/slutils/slutils_0.1.0.oe b/slutils/slutils_0.1.0.oe
index 6d97c29c70..e4205f62fc 100644
--- a/slutils/slutils_0.1.0.oe
+++ b/slutils/slutils_0.1.0.oe
@@ -3,8 +3,14 @@ SECTION = "base"
PRIORITY = "optional"
MAINTAINER = "Michael 'Mickey' Lauer <mickey@Vanille.de>"
LICENSE = "GPL"
+PR = "r1"
-inherit qmake
+inherit qmake update-rc.d
+
+SRC_URI = "file://sltime.sh"
+
+INITSCRIPT_NAME = "sltime"
+INITSCRIPT_PARAMS = "defaults 5"
export UTILS = "sltime"
@@ -22,9 +28,11 @@ do_configure_prepend() {
}
do_install() {
- install -d ${D}/${sbindir}/
+ install -d ${D}/${sbindir}
for u in ${UTILS}
do
install -m 0755 ${S}/${u}/${u} ${D}/${sbindir}/
done
+ install -d ${D}/${sysconfdir}/init.d/
+ install -m 0755 ${WORKDIR}/sltime.sh ${D}/${sysconfdir}/init.d/sltime
}