From 935913d4d97f32afb1d0131773351b16313c3740 Mon Sep 17 00:00:00 2001 From: jvdias Date: Tue, 15 Feb 2005 18:02:52 +0000 Subject: [PATCH] *** empty log message *** --- dhcpd.init | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/dhcpd.init b/dhcpd.init index 731c738..f574e23 100644 --- a/dhcpd.init +++ b/dhcpd.init @@ -29,7 +29,7 @@ configtest() { CFA='' if [[ "$DHCPDARGS" = *-cf* ]]; then - CFA=`echo $DHCPDARGS | sed 's/^.*-cf[\ \ ]*/-cf/;s/[\ \ ].*$//'`; + CFA=`echo $DHCPDARGS | sed 's/^.*-cf[\ \ ]*/-cf/;s/[\ \ ].*$//;s/-cf/-cf /'`; fi; /usr/sbin/dhcpd -t $CFA return $? @@ -38,7 +38,7 @@ configtest() start() { # Start daemons. echo -n $"Starting $prog: " - daemon /usr/sbin/dhcpd 2>/dev/null + daemon /usr/sbin/dhcpd ${DHCPDARGS} 2>/dev/null RETVAL=$? echo if [ $RETVAL -eq 0 ]; then