summaryrefslogtreecommitdiffstats
path: root/etc/rc.d/network1
diff options
context:
space:
mode:
Diffstat (limited to 'etc/rc.d/network1')
-rw-r--r--etc/rc.d/network113
1 files changed, 11 insertions, 2 deletions
diff --git a/etc/rc.d/network1 b/etc/rc.d/network1
index 426ec2f..2146b90 100644
--- a/etc/rc.d/network1
+++ b/etc/rc.d/network1
@@ -753,8 +753,17 @@ network_pass3() {
;;
esac
- amd -p ${amd_flags} > /var/run/amd.pid \
- 2> /dev/null &
+ case "${amd_flags}" in
+ '')
+ echo ''
+ echo 'Warning: amd will not load without arguments'
+ ;;
+ *)
+ amd -p ${amd_flags} \
+ >/var/run/amd.pid \
+ 2>/dev/null &
+ ;;
+ esac
;;
esac
else
OpenPOWER on IntegriCloud