9 # KEYWORD: nojail shutdown
15 command="/usr/sbin/${name}"
16 start_precmd="apmd_prestart"
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
29 # Warn user about acpi apm compatibility support which
30 # does not work with apmd.
31 if [ ! -e /dev/apmctl ]; then
32 warn "/dev/apmctl not found; kernel is missing apm(4)"