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.3 2005/11/19 21:47:32 swildner Exp $
15 start_precmd
="apm_precmd"
16 command="/usr/sbin/${name}"
17 start_cmd
="${command} -e enable"
18 stop_cmd
="${command} -e disable"
19 status_cmd
="apm_status"
23 case `${SYSCTL_N} hw.machine_arch` in
33 case `${command} -s` in
35 echo "APM is enabled."
39 echo "APM is disabled"