OpenPKG CVS Repository
http://cvs.openpkg.org/
____________________________________________________________________________
Server: cvs.openpkg.org Name: Ralf S. Engelschall
Root: /e/openpkg/cvs Email: [EMAIL PROTECTED]
Module: openpkg-src Date: 09-Nov-2004 13:28:57
Branch: HEAD Handle: 2004110912285700
Modified files:
openpkg-src/dhcpd dhcpd.spec rc.dhcpd
Log:
fix rc %status and %start commands
Summary:
Revision Changes Path
1.65 +1 -1 openpkg-src/dhcpd/dhcpd.spec
1.18 +3 -3 openpkg-src/dhcpd/rc.dhcpd
____________________________________________________________________________
patch -p0 <<'@@ .'
Index: openpkg-src/dhcpd/dhcpd.spec
============================================================================
$ cvs diff -u -r1.64 -r1.65 dhcpd.spec
--- openpkg-src/dhcpd/dhcpd.spec 7 Nov 2004 10:56:59 -0000 1.64
+++ openpkg-src/dhcpd/dhcpd.spec 9 Nov 2004 12:28:57 -0000 1.65
@@ -34,7 +34,7 @@
Group: DNS
License: ISC/BSD
Version: 3.0.2rc1
-Release: 20041107
+Release: 20041109
# package options
%option with_fsl yes
@@ .
patch -p0 <<'@@ .'
Index: openpkg-src/dhcpd/rc.dhcpd
============================================================================
$ cvs diff -u -r1.17 -r1.18 rc.dhcpd
--- openpkg-src/dhcpd/rc.dhcpd 30 Aug 2004 13:03:42 -0000 1.17
+++ openpkg-src/dhcpd/rc.dhcpd 9 Nov 2004 12:28:57 -0000 1.18
@@ -26,8 +26,8 @@
if [ $? -ne 0 -a ".$dhcpd_port" != . ]; then
cmd="$cmd -p $dhcpd_port"
fi
- if [ $# -ge 0 ]; then
- flags="$flags $@"
+ if [ $# -gt 0 ]; then
+ cmd="$cmd $@"
fi
cmd="$cmd >/dev/null 2>&1"
eval $cmd
@@ -48,7 +48,7 @@
rcService dhcpd enable yes || exit 0
rcService dhcpd usable no && exit 0
rcService dhcpd active yes && exit 0
- dhcpd_start
+ dhcpd_start $dhcpd_if
%stop -u @l_susr@
rcService dhcpd enable yes || exit 0
@@ .
______________________________________________________________________
The OpenPKG Project www.openpkg.org
CVS Repository Commit List [EMAIL PROTECTED]