8b045bed29
--HG-- extra : convert_revision : ba3f40d2cebc31821587c1e018529437706e2d17
21 lines
397 B
Plaintext
21 lines
397 B
Plaintext
#
|
|
# This script unregisters the metalog service from the
|
|
# 'default' runlevel, as required by OpenRC.
|
|
#
|
|
|
|
case "${ACTION}" in
|
|
pre)
|
|
[ ! -x sbin/rc-update ] && exit 0
|
|
[ ! -x sbin/rc-service ] && exit 0
|
|
|
|
if sbin/rc-service -e udev; then
|
|
echo "Unregistering ${PKGNAME} OpenRC service..."
|
|
sbin/rc-update del ${PKGNAME} default
|
|
[ $? -ne 0 ] && exit $?
|
|
sbin/rc-update -u
|
|
fi
|
|
;;
|
|
post)
|
|
;;
|
|
esac
|