diff options
author | Michael Hanson <hansonorders@verison.net> | 2010-03-25 17:42:02 (GMT) |
---|---|---|
committer | Michael Hanson <hansonorders@verison.net> | 2010-03-25 17:42:02 (GMT) |
commit | 10b4773ed5a39f59be3b9d9de0ddd7a53381df99 (patch) | |
tree | 35b791b36bed16947225eba4a1a313777053acda /abs/extra-testing/community/network-ups-tools/nut.install | |
parent | 517e1b135728c7e5674335e3ae1d9539044cd53a (diff) | |
download | linhes_pkgbuild-10b4773ed5a39f59be3b9d9de0ddd7a53381df99.zip linhes_pkgbuild-10b4773ed5a39f59be3b9d9de0ddd7a53381df99.tar.gz linhes_pkgbuild-10b4773ed5a39f59be3b9d9de0ddd7a53381df99.tar.bz2 |
network-ups-tools: Revert recent changes because they did not work as expected
re-instated looper in the run file
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 |