summaryrefslogtreecommitdiffstats
path: root/etc/rc.network
diff options
context:
space:
mode:
Diffstat (limited to 'etc/rc.network')
-rw-r--r--etc/rc.network13
1 files changed, 11 insertions, 2 deletions
diff --git a/etc/rc.network b/etc/rc.network
index 426ec2f..2146b90 100644
--- a/etc/rc.network
+++ b/etc/rc.network
@@ -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