git.openpandora.org
/
openembedded.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
74228b4
)
don't use -s when operating on offline root
author
Phil Blundell
<philb@gnu.org>
Sat, 31 Jul 2004 20:20:27 +0000
(20:20 +0000)
committer
Phil Blundell
<philb@gnu.org>
Sat, 31 Jul 2004 20:20:27 +0000
(20:20 +0000)
BKrev: 410bff0bwbFY2sHNzi9rGagsdAzmRg
classes/update-rc.d.oeclass
patch
|
blob
|
history
diff --git
a/classes/update-rc.d.oeclass
b/classes/update-rc.d.oeclass
index
341eb3c
..
41e78b8
100644
(file)
--- 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() {