3 # $DragonFly: src/etc/rc.d/battd,v 1.2 2005/11/19 21:47:32 swildner Exp $
14 start_precmd="battd_precmd"
15 command="/usr/sbin/${name}"
16 pidfile="/var/run/${name}.pid"
20 case `${SYSCTL_N} hw.machine_arch` in
22 # Enable apm if it is not already enabled
23 if ! checkyesno apm_enable && \
24 ! /etc/rc.d/apm forcestatus 1>/dev/null 2>&1
26 force_depend apm || return 1