diff options
author | lkoeller <lkoeller@FreeBSD.org> | 2001-12-02 13:07:25 +0000 |
---|---|---|
committer | lkoeller <lkoeller@FreeBSD.org> | 2001-12-02 13:07:25 +0000 |
commit | b4e77a2bdc553c95143fbd9d68dfcb83b4c933f7 (patch) | |
tree | 08c6da6fe4de8de8b8bffab636461065bfc3326d /sysutils/apcupsd | |
parent | f56eb611c10117ea4ba7aff3577415a5bd17f592 (diff) | |
download | FreeBSD-ports-b4e77a2bdc553c95143fbd9d68dfcb83b4c933f7.zip FreeBSD-ports-b4e77a2bdc553c95143fbd9d68dfcb83b4c933f7.tar.gz |
Fixing missing brace in startup script and wrong path to mail binary.
Diffstat (limited to 'sysutils/apcupsd')
-rw-r--r-- | sysutils/apcupsd/files/apcupsd.sh.sample | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/sysutils/apcupsd/files/apcupsd.sh.sample b/sysutils/apcupsd/files/apcupsd.sh.sample index a4b8c95..923d6b9 100644 --- a/sysutils/apcupsd/files/apcupsd.sh.sample +++ b/sysutils/apcupsd/files/apcupsd.sh.sample @@ -19,7 +19,7 @@ apcupsd_enable=${apcupsd_enable:-YES} apcupsd_program=${apcupsd_program:-${PREFIX}/sbin/apcupsd} apcupsd_flags=${apcupsd_flags:-"--kill-on-powerfail"} apcupsd_pidfile=${apcupsd_pidfile:-/var/run/apcupsd.pid} -apcupsd_lockfile=${apcupsd_pidfile:-/var/spool/lock/apcupsd.lock +apcupsd_lockfile=${apcupsd_pidfile:-/var/spool/lock/apcupsd.lock} case $1 in start) @@ -41,6 +41,8 @@ case $1 in PID=`cat ${apcupsd_pidfile}` kill -KILL $PID || return=" Failed." rm -f ${apcupsd_pidfile} + # some slaves won't die + killall apcupsd else return=" Failed." fi |