diff options
-rw-r--r-- | meta/recipes-core/systemd/systemd-compat-units.bb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/meta/recipes-core/systemd/systemd-compat-units.bb b/meta/recipes-core/systemd/systemd-compat-units.bb index 9f28283570..e32ad791ec 100644 --- a/meta/recipes-core/systemd/systemd-compat-units.bb +++ b/meta/recipes-core/systemd/systemd-compat-units.bb | |||
@@ -42,7 +42,7 @@ pkg_postinst_${PN} () { | |||
42 | fi | 42 | fi |
43 | 43 | ||
44 | for i in ${SYSTEMD_DISABLED_SYSV_SERVICES} ; do | 44 | for i in ${SYSTEMD_DISABLED_SYSV_SERVICES} ; do |
45 | if [ \( -e $i -o $i.sh \) -a ! -e $D${sysconfdir}/systemd/system/$i.service ] ; then | 45 | if [ \( -e $i -o $i.sh \) -a ! \( -e $D${sysconfdir}/systemd/system/$i.service -o -e $D${systemd_unitdir}/system/$i.service \) ] ; then |
46 | echo -n "$i: " ; systemctl ${OPTS} mask $i.service | 46 | echo -n "$i: " ; systemctl ${OPTS} mask $i.service |
47 | fi | 47 | fi |
48 | done ; echo | 48 | done ; echo |