3 # $FreeBSD: src/etc/rc.d/apm,v 1.4 2003/06/09 17:44:30 mtm Exp $
4 # $DragonFly: src/etc/rc.d/apm,v 1.2 2004/01/26 17:21:15 rob Exp $
16 start_precmd="apm_precmd"
17 command="/usr/sbin/${name}"
18 start_cmd="${command} -e enable"
19 stop_cmd="${command} -e disable"
20 status_cmd="apm_status"
24 case `${SYSCTL_N} hw.machine_arch` in
34 case `${command} -s` in
36 echo "APM is enabled."
40 echo "APM is disabled"