3
# This script should be called by upssched via the CMDSCRIPT directive.
5
# Here is a quick example to show how to handle a bunch of possible
6
# timer names with the help of the case structure.
8
# This script may be replaced with another program without harm.
10
# The first argument passed to your CMDSCRIPT is the name of the timer
15
logger -t upssched-cmd "The UPS has been gone for awhile"
18
logger -t upssched-cmd "Unrecognized command: $1"