Huh? When did the etc bits for amd64 get added?

Make sure they're ported over to rc.d.
While I'm at it correct a logic mistake in rc.d/apmd.

Approved by:	markm (mentor)(implicit)
This commit is contained in:
Mike Makonnen 2003-05-02 08:35:17 +00:00
parent c9c29450f5
commit 7b579aff4c
3 changed files with 5 additions and 5 deletions

View file

@ -19,7 +19,7 @@ command_args="-e enable"
apm_precmd()
{
case `${SYSCTL_N} hw.machine_arch` in
i386)
i386|amd64)
return 0
;;
esac

View file

@ -24,9 +24,9 @@ esac
apmd_prestart()
{
case `${SYSCTL_N} hw.machine_arch` in
i386)
# Don't start if apm is already running
/etc/rc.d/apm forcestatus > /dev/null && return 1
i386|amd64)
# Start apm if it is not already running
/etc/rc.d/apm forcestatus > /dev/null || /etc/rc.d/apm forcestart
;;
*)
return 1

View file

@ -56,7 +56,7 @@ ibcs2_compat()
_arch=`${SYSCTL_N} hw.machine`
echo -n "Initial $_arch initialization:"
case $_arch in
i386)
i386|amd64)
ibcs2_compat
;;
alpha)