]> git.ipfire.org Git - people/teissler/ipfire-2.x.git/blob - src/initscripts/init.d/apcupsd
httpscert: Increase size of the RSA key to 4096.
[people/teissler/ipfire-2.x.git] / src / initscripts / init.d / apcupsd
1 #!/bin/sh
2 # Begin $rc_base/init.d/apcupsd
3
4 # Based on sysklogd script from LFS-3.1 and earlier.
5
6 . /etc/sysconfig/rc
7 . $rc_functions
8
9 case "$1" in
10 start)
11 boot_mesg "Starting apcupsd daemon..."
12 loadproc apcupsd
13 ;;
14 stop)
15 boot_mesg "Stopping apcupsd daemon..."
16 killproc apcupsd
17 ;;
18 status)
19 statusproc /sbin/apcupsd
20 ;;
21 *)
22 echo "Usage: $0 (start|stop|status)"
23 exit 1
24 ;;
25 esac
26
27 # End $rc_base/init.d/apcupsd