aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Makonnen <mtm@FreeBSD.org>2003-05-02 08:35:17 +0000
committerMike Makonnen <mtm@FreeBSD.org>2003-05-02 08:35:17 +0000
commit7b579aff4c2d1325a1f8bf5a3c68f8f3f129c23d (patch)
treebd81b3d88d1db7efc0fa3d741b0ce0d740c3e7a8
parentc9c29450f54e7b398265399eef35a08692bbaa16 (diff)
Notes
-rw-r--r--etc/rc.d/apm2
-rwxr-xr-xetc/rc.d/apmd6
-rw-r--r--etc/rc.d/archdep2
3 files changed, 5 insertions, 5 deletions
diff --git a/etc/rc.d/apm b/etc/rc.d/apm
index d88f7c067478..4040785b1fa5 100644
--- a/etc/rc.d/apm
+++ b/etc/rc.d/apm
@@ -19,7 +19,7 @@ command_args="-e enable"
apm_precmd()
{
case `${SYSCTL_N} hw.machine_arch` in
- i386)
+ i386|amd64)
return 0
;;
esac
diff --git a/etc/rc.d/apmd b/etc/rc.d/apmd
index 8cf548ea2152..80c5a54cd3a6 100755
--- a/etc/rc.d/apmd
+++ b/etc/rc.d/apmd
@@ -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
diff --git a/etc/rc.d/archdep b/etc/rc.d/archdep
index 4d5db87276df..f4669f2428c7 100644
--- a/etc/rc.d/archdep
+++ b/etc/rc.d/archdep
@@ -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)