diff options
Diffstat (limited to 'meta/classes/update-rc.d.bbclass')
-rw-r--r-- | meta/classes/update-rc.d.bbclass | 4 |
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" | |||
39 | updatercd_postinst() { | 39 | updatercd_postinst() { |
40 | if ${@use_updatercd(d)} && type update-rc.d >/dev/null 2>/dev/null; then | 40 | if ${@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} |
47 | fi | 47 | fi |