diff options
Diffstat (limited to 'etc/rc.d/network1')
-rw-r--r-- | etc/rc.d/network1 | 13 |
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 |