summaryrefslogtreecommitdiffstats
path: root/abs/extra-testing/community/network-ups-tools/nut.install
diff options
context:
space:
mode:
authorJames Meyer <james.meyer@operamail.com>2010-03-26 02:22:35 (GMT)
committerJames Meyer <james.meyer@operamail.com>2010-03-26 02:22:35 (GMT)
commit8c2744ed3742d8aaf6639e5c4ec3b6e7f75c7a6a (patch)
tree6304a4abdc3aea91e6d9aef46ba5ee7dd61c1e56 /abs/extra-testing/community/network-ups-tools/nut.install
parent32703c5df89f76df235f2ef2d2a561274fc32c44 (diff)
parent43e339db3b03991725137cc1538215c26d5c9b64 (diff)
downloadlinhes_pkgbuild-8c2744ed3742d8aaf6639e5c4ec3b6e7f75c7a6a.zip
linhes_pkgbuild-8c2744ed3742d8aaf6639e5c4ec3b6e7f75c7a6a.tar.gz
linhes_pkgbuild-8c2744ed3742d8aaf6639e5c4ec3b6e7f75c7a6a.tar.bz2
Merge branch 'HEAD' of ssh://jams@knoppmyth.net/mount/repository/LinHES-PKGBUILD
Diffstat (limited to 'abs/extra-testing/community/network-ups-tools/nut.install')
-rw-r--r--abs/extra-testing/community/network-ups-tools/nut.install11
1 files changed, 2 insertions, 9 deletions
diff --git a/abs/extra-testing/community/network-ups-tools/nut.install b/abs/extra-testing/community/network-ups-tools/nut.install
index f7712a6..f2f02d6 100644
--- a/abs/extra-testing/community/network-ups-tools/nut.install
+++ b/abs/extra-testing/community/network-ups-tools/nut.install
@@ -8,18 +8,11 @@ post_install() {
echo ">>> Before starting your UPSd daemon, you must"
echo ">>> edit /etc/ups/ups.conf in order to set your"
echo ">>> UPS driver and port."
- echo ">>> Then add the following services: upsdrvctl | upsd | upsmon"
- echo ">>> i.e. $ sudo add_service.sh upsdrvctl."
-}
-
-post_upgrade() {
- echo ">>> Ensure the following services exist: upsdrvctl | upsd | upsmon"
- echo ">>> i.e. $ sudo add_service.sh upsdrvctl."
+ echo ">>> Then add the the upsd service:"
+ echo ">>> $ sudo add_service.sh upsd"
}
pre_remove() {
- remove_service.sh upsdrvctl
- remove_service.sh upsmon
remove_service.sh upsd
userdel nut >/dev/null 2>&1
groupdel nut >/dev/null 2>&1