summaryrefslogtreecommitdiffstats
path: root/etc/network.subr
diff options
context:
space:
mode:
authorobrien <obrien@FreeBSD.org>2002-03-12 01:01:53 +0000
committerobrien <obrien@FreeBSD.org>2002-03-12 01:01:53 +0000
commiteff3c6b824f00fdf392550a513b77b6761fcf50b (patch)
treecaca59c8febe3939d8baca45f92d613fcdbd26be /etc/network.subr
parente65affeb45ff4099c7ed978c62885def1f1d287c (diff)
downloadFreeBSD-src-eff3c6b824f00fdf392550a513b77b6761fcf50b.zip
FreeBSD-src-eff3c6b824f00fdf392550a513b77b6761fcf50b.tar.gz
Why shouldn't amd always write its PID to a file?
Since I cannot answer that question, make it.
Diffstat (limited to 'etc/network.subr')
-rw-r--r--etc/network.subr8
1 files changed, 2 insertions, 6 deletions
diff --git a/etc/network.subr b/etc/network.subr
index 0482474..eb1ee91 100644
--- a/etc/network.subr
+++ b/etc/network.subr
@@ -754,12 +754,8 @@ network_pass3() {
;;
esac
- if [ -n "${amd_flags}" ]; then
- amd -p ${amd_flags}\
- > /var/run/amd.pid 2> /dev/null
- else
- amd 2> /dev/null
- fi
+ amd -p ${amd_flags}\
+ > /var/run/amd.pid 2> /dev/null
;;
esac
else
OpenPOWER on IntegriCloud