summaryrefslogtreecommitdiff
path: root/sysvinit
diff options
context:
space:
mode:
authorChris Larson <clarson@kergoth.com>2003-12-05 04:49:36 +0000
committerChris Larson <clarson@kergoth.com>2003-12-05 04:49:36 +0000
commit2bb9feb50ae8d1c7733883dc7dcb9d3dfac214c1 (patch)
treeb608ef7805c247300503f95bce879b78e2c1f76a /sysvinit
parent83cbb11048e51b21ff766ee4ff7e2ef531942433 (diff)
Helps to have an /sbin/init..
BKrev: 3fd00e60wgvaq5xlwoWJggT2gjojwQ
Diffstat (limited to 'sysvinit')
-rw-r--r--sysvinit/sysvinit_2.85.oe5
1 files changed, 1 insertions, 4 deletions
diff --git a/sysvinit/sysvinit_2.85.oe b/sysvinit/sysvinit_2.85.oe
index e2d5cf3997..08fd67e6c5 100644
--- a/sysvinit/sysvinit_2.85.oe
+++ b/sysvinit/sysvinit_2.85.oe
@@ -55,14 +55,11 @@ do_stage () {
pkg_postinst () {
set -e
-# if [ X"$1" != Xconfigure ]; then
-# exit 0
-# fi
# FIXME: use update-alternatives.. but what if the user doesnt have it?
# if [ -n "`which update-alternatives 2>/dev/null`" ]; then
# update-alternatives blah
# else
- ln -sf sysvinit /sbin/init
+ ln -sf sysvinit ${D}/sbin/init
# fi
exit 0
}