From dd73ae60c32d38419bc448e716678d7f604f2316 Mon Sep 17 00:00:00 2001 From: Phil Blundell Date: Sat, 31 Jul 2004 20:20:27 +0000 Subject: don't use -s when operating on offline root BKrev: 410bff0bwbFY2sHNzi9rGagsdAzmRg --- classes/update-rc.d.oeclass | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'classes/update-rc.d.oeclass') 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() { -- cgit v1.2.3