diff options
author | obrien <obrien@FreeBSD.org> | 2002-03-12 01:01:53 +0000 |
---|---|---|
committer | obrien <obrien@FreeBSD.org> | 2002-03-12 01:01:53 +0000 |
commit | eff3c6b824f00fdf392550a513b77b6761fcf50b (patch) | |
tree | caca59c8febe3939d8baca45f92d613fcdbd26be /etc/rc.d/routing | |
parent | e65affeb45ff4099c7ed978c62885def1f1d287c (diff) | |
download | FreeBSD-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/rc.d/routing')
-rw-r--r-- | etc/rc.d/routing | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/etc/rc.d/routing b/etc/rc.d/routing index 0482474..eb1ee91 100644 --- a/etc/rc.d/routing +++ b/etc/rc.d/routing @@ -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 |