summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--etc/network.subr6
-rw-r--r--etc/rc.d/netoptions6
-rw-r--r--etc/rc.d/network16
-rw-r--r--etc/rc.d/network26
-rw-r--r--etc/rc.d/network36
-rw-r--r--etc/rc.d/routing6
-rw-r--r--etc/rc.network6
7 files changed, 35 insertions, 7 deletions
diff --git a/etc/network.subr b/etc/network.subr
index eabdd0b..8d779ea 100644
--- a/etc/network.subr
+++ b/etc/network.subr
@@ -757,8 +757,12 @@ network_pass3() {
case "${amd_flags}" in
'')
- echo ''
+ if [ -r /etc/amd.conf ]; then
+ amd &
+ else
+ echo ''
echo 'Warning: amd will not load without arguments'
+ fi
;;
*)
amd -p ${amd_flags} \
diff --git a/etc/rc.d/netoptions b/etc/rc.d/netoptions
index eabdd0b..8d779ea 100644
--- a/etc/rc.d/netoptions
+++ b/etc/rc.d/netoptions
@@ -757,8 +757,12 @@ network_pass3() {
case "${amd_flags}" in
'')
- echo ''
+ if [ -r /etc/amd.conf ]; then
+ amd &
+ else
+ echo ''
echo 'Warning: amd will not load without arguments'
+ fi
;;
*)
amd -p ${amd_flags} \
diff --git a/etc/rc.d/network1 b/etc/rc.d/network1
index eabdd0b..8d779ea 100644
--- a/etc/rc.d/network1
+++ b/etc/rc.d/network1
@@ -757,8 +757,12 @@ network_pass3() {
case "${amd_flags}" in
'')
- echo ''
+ if [ -r /etc/amd.conf ]; then
+ amd &
+ else
+ echo ''
echo 'Warning: amd will not load without arguments'
+ fi
;;
*)
amd -p ${amd_flags} \
diff --git a/etc/rc.d/network2 b/etc/rc.d/network2
index eabdd0b..8d779ea 100644
--- a/etc/rc.d/network2
+++ b/etc/rc.d/network2
@@ -757,8 +757,12 @@ network_pass3() {
case "${amd_flags}" in
'')
- echo ''
+ if [ -r /etc/amd.conf ]; then
+ amd &
+ else
+ echo ''
echo 'Warning: amd will not load without arguments'
+ fi
;;
*)
amd -p ${amd_flags} \
diff --git a/etc/rc.d/network3 b/etc/rc.d/network3
index eabdd0b..8d779ea 100644
--- a/etc/rc.d/network3
+++ b/etc/rc.d/network3
@@ -757,8 +757,12 @@ network_pass3() {
case "${amd_flags}" in
'')
- echo ''
+ if [ -r /etc/amd.conf ]; then
+ amd &
+ else
+ echo ''
echo 'Warning: amd will not load without arguments'
+ fi
;;
*)
amd -p ${amd_flags} \
diff --git a/etc/rc.d/routing b/etc/rc.d/routing
index eabdd0b..8d779ea 100644
--- a/etc/rc.d/routing
+++ b/etc/rc.d/routing
@@ -757,8 +757,12 @@ network_pass3() {
case "${amd_flags}" in
'')
- echo ''
+ if [ -r /etc/amd.conf ]; then
+ amd &
+ else
+ echo ''
echo 'Warning: amd will not load without arguments'
+ fi
;;
*)
amd -p ${amd_flags} \
diff --git a/etc/rc.network b/etc/rc.network
index eabdd0b..8d779ea 100644
--- a/etc/rc.network
+++ b/etc/rc.network
@@ -757,8 +757,12 @@ network_pass3() {
case "${amd_flags}" in
'')
- echo ''
+ if [ -r /etc/amd.conf ]; then
+ amd &
+ else
+ echo ''
echo 'Warning: amd will not load without arguments'
+ fi
;;
*)
amd -p ${amd_flags} \
OpenPOWER on IntegriCloud