initscript: Make sure that the alignment script is ran by systemd

systemd does not look at links in rcS.d. Make sure that the script
is available in runlevel 2 as well so it will be used by systemd.
This commit is contained in:
Holger Hans Peter Freyther 2014-03-31 23:00:24 +02:00
parent fd085cdc6b
commit 57e85e5c37
1 changed files with 2 additions and 1 deletions

View File

@ -3,7 +3,7 @@ DESCRIPTION = "Initscripts provide the basic system startup initialization scrip
SECTION = "base"
LICENSE = "GPLv2"
LIC_FILES_CHKSUM = "file://COPYING;md5=751419260aa954499f7abaabaa882bbe"
PR = "r141"
PR = "r142"
INHIBIT_DEFAULT_DEPS = "1"
@ -125,6 +125,7 @@ do_install () {
update-rc.d -r ${D} devpts.sh start 38 S .
if [ "${TARGET_ARCH}" = "arm" ]; then
update-rc.d -r ${D} alignment.sh start 06 S .
update-rc.d -r ${D} alignment.sh start 06 S 2 .
fi
# We wish to have /var/log ready at this stage so execute this after
# populate-volatile.sh