diff options
Diffstat (limited to 'abs/extra-testing/community/network-ups-tools/nut.install')
-rw-r--r-- | abs/extra-testing/community/network-ups-tools/nut.install | 11 |
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 |