Browse Source

runit: fixed to not install "minimal services" when it's not the INIT

early
Alejandro Mery 17 years ago
parent
commit
bb3aaf928a
  1. 8
      base/runit/parse-config

8
base/runit/parse-config

@ -15,7 +15,6 @@
# GNU General Public License can be found in the file COPYING. # GNU General Public License can be found in the file COPYING.
# --- SDE-COPYRIGHT-NOTE-END --- # --- SDE-COPYRIGHT-NOTE-END ---
# #
# add init scripts # add init scripts
# #
@ -100,9 +99,6 @@ if pkginstalled runit; then
echo " done." echo " done."
} }
fi fi
fi
unset runitconfdir runitxmode runit_has_script
# minimal services # minimal services
case "$pkg" in case "$pkg" in
@ -114,5 +110,9 @@ if pkginstalled runit; then
hook_add postmake 9 'ln -svnf /etc/runit/klogd $pkg_djb_servicedir/klogd' hook_add postmake 9 'ln -svnf /etc/runit/klogd $pkg_djb_servicedir/klogd'
;; ;;
esac esac
fi
unset runitconfdir runitxmode runit_has_script
fi fi

Loading…
Cancel
Save