dhcpcd: fix service name in INSTALL/REMOVE scripts.

--HG--
extra : convert_revision : 11b59d51287ca9393b1587c930905438dc60a807
This commit is contained in:
Juan RP 2009-05-04 22:31:39 +02:00
parent ab62d12294
commit 0f20ba451b
2 changed files with 2 additions and 2 deletions

View File

@ -10,7 +10,7 @@ post)
[ ! -x sbin/rc-update ] && exit 0
[ ! -x sbin/rc-service ] && exit 0
if sbin/rc-service -e udev; then
if sbin/rc-service -e ${PKGNAME}; then
echo "Registering ${PKGNAME} OpenRC service..."
sbin/rc-update add ${PKGNAME} default
[ $? -ne 0 ] && exit $?

View File

@ -8,7 +8,7 @@ pre)
[ ! -x sbin/rc-update ] && exit 0
[ ! -x sbin/rc-service ] && exit 0
if sbin/rc-service -e udev; then
if sbin/rc-service -e ${PKGNAME}; then
echo "Unregistering ${PKGNAME} OpenRC service..."
sbin/rc-update del ${PKGNAME} default
[ $? -ne 0 ] && exit $?