From eff3c6b824f00fdf392550a513b77b6761fcf50b Mon Sep 17 00:00:00 2001 From: obrien Date: Tue, 12 Mar 2002 01:01:53 +0000 Subject: Why shouldn't amd always write its PID to a file? Since I cannot answer that question, make it. --- etc/rc.d/netoptions | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) (limited to 'etc/rc.d/netoptions') diff --git a/etc/rc.d/netoptions b/etc/rc.d/netoptions index 0482474..eb1ee91 100644 --- a/etc/rc.d/netoptions +++ b/etc/rc.d/netoptions @@ -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 -- cgit v1.1