rpms/rarpd/devel rarpd-configurableInit.patch,NONE,1.1
Jiří Moskovčák (jmoskovc)
fedora-extras-commits at redhat.com
Wed Aug 29 13:12:25 UTC 2007
Author: jmoskovc
Update of /cvs/extras/rpms/rarpd/devel
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv885
Added Files:
rarpd-configurableInit.patch
Log Message:
rarpd-configurableInit.patch:
--- NEW FILE rarpd-configurableInit.patch ---
--- rarpd/rarpd.init 2007-07-30 11:53:35.000000000 +0200
+++ rarpd_configurable/rarpd.init 2007-07-30 11:45:20.000000000 +0200
@@ -23,6 +23,11 @@
# Source function library.
. /etc/init.d/functions
+# Read the config file if exists
+if [ -f /etc/sysconfig/rarpd ]; then
+ . /etc/sysconfig/rarpd
+fi
+
RETVAL=0
prog="rarpd"
@@ -35,7 +40,7 @@ start() {
status rarpd;
if [ $? -ne 0 ]; then
echo -n $"Starting $prog: "
- daemon /usr/sbin/rarpd
+ daemon /usr/sbin/rarpd $OPTIONS $INTERFACE
RETVAL=$?
[ $RETVAL -eq 0 ] && touch /var/lock/subsys/rarpd
echo
More information about the scm-commits
mailing list