diff options
author | dougb <dougb@FreeBSD.org> | 2002-03-17 07:35:51 +0000 |
---|---|---|
committer | dougb <dougb@FreeBSD.org> | 2002-03-17 07:35:51 +0000 |
commit | 0589708b9d92c71e0f097454a9158d416bef76ec (patch) | |
tree | a00c7638cb1c1c5ccc586f66177313765351e244 /etc/rc.d/routing | |
parent | 284b7db51d291561f03f3eec5ca5866ea58dbc06 (diff) | |
download | FreeBSD-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.d/routing')
-rw-r--r-- | etc/rc.d/routing | 13 |
1 files changed, 11 insertions, 2 deletions
diff --git a/etc/rc.d/routing b/etc/rc.d/routing index 426ec2f..2146b90 100644 --- a/etc/rc.d/routing +++ b/etc/rc.d/routing @@ -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 |