diff options
author | dougb <dougb@FreeBSD.org> | 2002-04-01 18:33:45 +0000 |
---|---|---|
committer | dougb <dougb@FreeBSD.org> | 2002-04-01 18:33:45 +0000 |
commit | 3b51c999a4127262c5bac34974cb1dc289858668 (patch) | |
tree | b32868b7eaa054d51f4e7befd22354ef05bcaf75 /etc | |
parent | 810e37cb5c02fb8c8d7a5aae4ef0fb5b2da85f72 (diff) | |
download | FreeBSD-src-3b51c999a4127262c5bac34974cb1dc289858668.zip FreeBSD-src-3b51c999a4127262c5bac34974cb1dc289858668.tar.gz |
The good news is that my initial PR was correct... the bad news is that I
was apparently smoking something when I committed the last fix, because as
ume was kindly enough to set me straight on, amd *will* start with no
arguments at all, as long as there is an /etc/amd.conf file for it to
read. What it won't do is start with *just* -p.
In any case, now it's fixed.
Diffstat (limited to 'etc')
-rw-r--r-- | etc/network.subr | 6 | ||||
-rw-r--r-- | etc/rc.d/netoptions | 6 | ||||
-rw-r--r-- | etc/rc.d/network1 | 6 | ||||
-rw-r--r-- | etc/rc.d/network2 | 6 | ||||
-rw-r--r-- | etc/rc.d/network3 | 6 | ||||
-rw-r--r-- | etc/rc.d/routing | 6 | ||||
-rw-r--r-- | etc/rc.network | 6 |
7 files changed, 35 insertions, 7 deletions
diff --git a/etc/network.subr b/etc/network.subr index eabdd0b..8d779ea 100644 --- a/etc/network.subr +++ b/etc/network.subr @@ -757,8 +757,12 @@ network_pass3() { case "${amd_flags}" in '') - echo '' + if [ -r /etc/amd.conf ]; then + amd & + else + echo '' echo 'Warning: amd will not load without arguments' + fi ;; *) amd -p ${amd_flags} \ diff --git a/etc/rc.d/netoptions b/etc/rc.d/netoptions index eabdd0b..8d779ea 100644 --- a/etc/rc.d/netoptions +++ b/etc/rc.d/netoptions @@ -757,8 +757,12 @@ network_pass3() { case "${amd_flags}" in '') - echo '' + if [ -r /etc/amd.conf ]; then + amd & + else + echo '' echo 'Warning: amd will not load without arguments' + fi ;; *) amd -p ${amd_flags} \ diff --git a/etc/rc.d/network1 b/etc/rc.d/network1 index eabdd0b..8d779ea 100644 --- a/etc/rc.d/network1 +++ b/etc/rc.d/network1 @@ -757,8 +757,12 @@ network_pass3() { case "${amd_flags}" in '') - echo '' + if [ -r /etc/amd.conf ]; then + amd & + else + echo '' echo 'Warning: amd will not load without arguments' + fi ;; *) amd -p ${amd_flags} \ diff --git a/etc/rc.d/network2 b/etc/rc.d/network2 index eabdd0b..8d779ea 100644 --- a/etc/rc.d/network2 +++ b/etc/rc.d/network2 @@ -757,8 +757,12 @@ network_pass3() { case "${amd_flags}" in '') - echo '' + if [ -r /etc/amd.conf ]; then + amd & + else + echo '' echo 'Warning: amd will not load without arguments' + fi ;; *) amd -p ${amd_flags} \ diff --git a/etc/rc.d/network3 b/etc/rc.d/network3 index eabdd0b..8d779ea 100644 --- a/etc/rc.d/network3 +++ b/etc/rc.d/network3 @@ -757,8 +757,12 @@ network_pass3() { case "${amd_flags}" in '') - echo '' + if [ -r /etc/amd.conf ]; then + amd & + else + echo '' echo 'Warning: amd will not load without arguments' + fi ;; *) amd -p ${amd_flags} \ diff --git a/etc/rc.d/routing b/etc/rc.d/routing index eabdd0b..8d779ea 100644 --- a/etc/rc.d/routing +++ b/etc/rc.d/routing @@ -757,8 +757,12 @@ network_pass3() { case "${amd_flags}" in '') - echo '' + if [ -r /etc/amd.conf ]; then + amd & + else + echo '' echo 'Warning: amd will not load without arguments' + fi ;; *) amd -p ${amd_flags} \ diff --git a/etc/rc.network b/etc/rc.network index eabdd0b..8d779ea 100644 --- a/etc/rc.network +++ b/etc/rc.network @@ -757,8 +757,12 @@ network_pass3() { case "${amd_flags}" in '') - echo '' + if [ -r /etc/amd.conf ]; then + amd & + else + echo '' echo 'Warning: amd will not load without arguments' + fi ;; *) amd -p ${amd_flags} \ |