diff options
author | Phil Blundell <philb@gnu.org> | 2004-07-31 20:20:27 +0000 |
---|---|---|
committer | Phil Blundell <philb@gnu.org> | 2004-07-31 20:20:27 +0000 |
commit | dd73ae60c32d38419bc448e716678d7f604f2316 (patch) | |
tree | 58b9b8e4b4636c20af3c049719ce46187bbb251c /classes/update-rc.d.oeclass | |
parent | 74228b4f70ad6607af9e61aaf5a54adb1fd11885 (diff) |
don't use -s when operating on offline root
BKrev: 410bff0bwbFY2sHNzi9rGagsdAzmRg
Diffstat (limited to 'classes/update-rc.d.oeclass')
-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() { |