3 # $DragonFly: src/etc/rc.d/battd,v 1.1 2005/02/17 22:35:38 liamfoy Exp $
15 start_precmd="battd_precmd"
16 command="/usr/sbin/${name}"
17 pidfile="/var/run/${name}.pid"
21 case `${SYSCTL_N} hw.machine_arch` in
23 # Enable apm if it is not already enabled
24 if ! checkyesno apm_enable && \
25 ! /etc/rc.d/apm forcestatus 1>/dev/null 2>&1
27 force_depend apm || return 1