init-ifupdown: Make the script runnable in rc2.d as well

systemd doesn't look in /etc/rcS.d for init scripts so we never
start networking unless we are using ifplugd. We need to check
how this behves on the sysmobts and sysmobsc in case the network
is being started twice.
This commit is contained in:
Holger Hans Peter Freyther 2014-07-14 14:48:58 +02:00
parent 907987c41a
commit 5b521afd5d
1 changed files with 4 additions and 2 deletions

View File

@ -1,6 +1,8 @@
# TODO: When dropping netbase for edison we can rename it
SYSMOCOM := "${@os.path.dirname(bb.data.getVar('FILE', d, True))}"
FILESEXTRAPATHS_prepend := "${SYSMOCOM}/netbase-${PV}:${SYSMOCOM}/netbase:"
PRINC = "2"
PRINC = "3"
# systemd does not look at /etc/rcS.d for the script. Make sure
# there is a symlink available
INITSCRIPT_PARAMS = "start 40 S 2 . stop 40 0 6 1 ."