summaryrefslogtreecommitdiffstats
path: root/etc/rc.network
diff options
context:
space:
mode:
authordougb <dougb@FreeBSD.org>2002-03-17 07:35:51 +0000
committerdougb <dougb@FreeBSD.org>2002-03-17 07:35:51 +0000
commit0589708b9d92c71e0f097454a9158d416bef76ec (patch)
treea00c7638cb1c1c5ccc586f66177313765351e244 /etc/rc.network
parent284b7db51d291561f03f3eec5ca5866ea58dbc06 (diff)
downloadFreeBSD-src-0589708b9d92c71e0f097454a9158d416bef76ec.zip
FreeBSD-src-0589708b9d92c71e0f097454a9158d416bef76ec.tar.gz
Answer the question posed in 1.126. amd won't start without either a
conf file, or command line options. I brought this up in PR 12432, which (ironically) obrien assigned to me after I became a committer. :) PR: conf/12432 Submitted by: Me
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