summaryrefslogtreecommitdiffstats
path: root/meta
diff options
context:
space:
mode:
Diffstat (limited to 'meta')
-rw-r--r--meta/classes/update-rc.d.bbclass4
1 files changed, 2 insertions, 2 deletions
diff --git a/meta/classes/update-rc.d.bbclass b/meta/classes/update-rc.d.bbclass
index 06e3b21396..265c4be9d1 100644
--- a/meta/classes/update-rc.d.bbclass
+++ b/meta/classes/update-rc.d.bbclass
@@ -39,9 +39,9 @@ PACKAGE_WRITE_DEPS += "update-rc.d-native"
39updatercd_postinst() { 39updatercd_postinst() {
40if ${@use_updatercd(d)} && type update-rc.d >/dev/null 2>/dev/null; then 40if ${@use_updatercd(d)} && type update-rc.d >/dev/null 2>/dev/null; then
41 if [ -n "$D" ]; then 41 if [ -n "$D" ]; then
42 OPT="-r $D" 42 OPT="-f -r $D"
43 else 43 else
44 OPT="-s" 44 OPT="-f -s"
45 fi 45 fi
46 update-rc.d $OPT ${INITSCRIPT_NAME} ${INITSCRIPT_PARAMS} 46 update-rc.d $OPT ${INITSCRIPT_NAME} ${INITSCRIPT_PARAMS}
47fi 47fi