summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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 bc1aa7dad6..a9c0323f95 100644
--- a/meta/classes/update-rc.d.bbclass
+++ b/meta/classes/update-rc.d.bbclass
@@ -48,9 +48,9 @@ fi
48updatercd_postrm() { 48updatercd_postrm() {
49if type update-rc.d >/dev/null 2>/dev/null; then 49if type update-rc.d >/dev/null 2>/dev/null; then
50 if [ -n "$D" ]; then 50 if [ -n "$D" ]; then
51 OPT="-r $D" 51 OPT="-f -r $D"
52 else 52 else
53 OPT="" 53 OPT="-f"
54 fi 54 fi
55 update-rc.d $OPT ${INITSCRIPT_NAME} remove 55 update-rc.d $OPT ${INITSCRIPT_NAME} remove
56fi 56fi