diff options
Diffstat (limited to 'sysvinit')
-rw-r--r-- | sysvinit/sysvinit_2.85.oe | 11 |
1 files changed, 7 insertions, 4 deletions
diff --git a/sysvinit/sysvinit_2.85.oe b/sysvinit/sysvinit_2.85.oe index b5683fd70b..e2d5cf3997 100644 --- a/sysvinit/sysvinit_2.85.oe +++ b/sysvinit/sysvinit_2.85.oe @@ -48,13 +48,16 @@ do_install () { install -m 0755 ${WORKDIR}/update-rc.d/update-rc.d ${D}/${sbindir}/ } +do_stage () { + install -m 0755 ${WORKDIR}/update-rc.d/update-rc.d ${STAGING_BINDIR}/ +} + pkg_postinst () { set -e - if [ X"$1" != Xconfigure ]; then - exit 0 - fi - +# 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 |