From: Phil Blundell Date: Sat, 31 Jul 2004 20:20:27 +0000 (+0000) Subject: don't use -s when operating on offline root X-Git-Tag: Release-2010-05/1~17926 X-Git-Url: https://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=dd73ae60c32d38419bc448e716678d7f604f2316;p=openembedded.git don't use -s when operating on offline root BKrev: 410bff0bwbFY2sHNzi9rGagsdAzmRg --- 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() {