Diff for /src/etc/rc.d/apmd between versions 1.1 and 1.2

version 1.1, 2003/07/24 06:35:37 version 1.2, 2004/01/27 00:55:43
Line 8 Line 8
 # PROVIDE: apmd  # PROVIDE: apmd
 # REQUIRE: DAEMON apm  # REQUIRE: DAEMON apm
 # BEFORE:  LOGIN  # BEFORE:  LOGIN
# KEYWORD: DragonFly FreeBSD NetBSD # KEYWORD: DragonFly
   
 . /etc/rc.subr  . /etc/rc.subr
   
 name="apmd"  name="apmd"
 rcvar=`set_rcvar`  rcvar=`set_rcvar`
 command="/usr/sbin/${name}"  command="/usr/sbin/${name}"
start_precmd="apmd_prestart"
case ${OSTYPE} in 
DragonFly) 
        start_precmd="apmd_prestart" 
        ;; 
FreeBSD) 
        start_precmd="apmd_prestart" 
        ;; 
esac 
 
 apmd_prestart()  apmd_prestart()
 {  {
         case `${SYSCTL_N} hw.machine_arch` in          case `${SYSCTL_N} hw.machine_arch` in

Removed from v.1.1  
changed lines
  Added in v.1.2