diff options
-rw-r--r-- | classes/update-rc.d.oeclass | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/classes/update-rc.d.oeclass b/classes/update-rc.d.oeclass index 341eb3c3fb..41e78b8ab5 100644 --- a/classes/update-rc.d.oeclass +++ b/classes/update-rc.d.oeclass @@ -6,8 +6,10 @@ INIT_D_DIR = "${sysconfdir}/init.d" updatercd_postinst() { if test "x$D" != "x"; then D="-r $D" +else + D="-s" fi -update-rc.d -s $D ${INITSCRIPT_NAME} ${INITSCRIPT_PARAMS} +update-rc.d $D ${INITSCRIPT_NAME} ${INITSCRIPT_PARAMS} } updatercd_postrm() { |