SOURCES: dhcp6c.init, dhcp6s.init - unify names
glen
glen at pld-linux.org
Sat Dec 15 19:31:06 CET 2007
Author: glen Date: Sat Dec 15 18:31:05 2007 GMT
Module: SOURCES Tag: HEAD
---- Log message:
- unify names
---- Files affected:
SOURCES:
dhcp6c.init (1.4 -> 1.5) , dhcp6s.init (1.5 -> 1.6)
---- Diffs:
================================================================
Index: SOURCES/dhcp6c.init
diff -u SOURCES/dhcp6c.init:1.4 SOURCES/dhcp6c.init:1.5
--- SOURCES/dhcp6c.init:1.4 Sat Dec 15 19:28:12 2007
+++ SOURCES/dhcp6c.init Sat Dec 15 19:31:00 2007
@@ -10,6 +10,7 @@
# processname: dhcp6c
# config: /etc/dhcp6c.conf
# config: /etc/sysconfig/dhcp6c
+
# Source function library
. /etc/rc.d/init.d/functions
@@ -22,7 +23,7 @@
# Check that networking is up.
if is_yes "${NETWORKING}"; then
if [ ! -f /var/lock/subsys/network -a "$1" != stop -a "$1" != status ]; then
- msg_network_down DHCP6C
+ msg_network_down "DHCPv6 client daemon"
exit 1
fi
else
@@ -32,22 +33,22 @@
start() {
# Check if the service is already running?
if [ ! -f /var/lock/subsys/dhcp6c ]; then
- msg_starting "DHCP6C"
+ msg_starting "DHCPv6 client daemon"
daemon dhcp6c $DHCP6CIF
RETVAL=$?
[ $RETVAL -eq 0 ] && touch /var/lock/subsys/dhcp6c
else
- msg_already_running DHCP6C
+ msg_already_running "DHCPv6 client daemon"
fi
}
stop() {
if [ -f /var/lock/subsys/dhcp6c ]; then
- msg_stopping "DHCP6C Server"
+ msg_stopping "DHCPv6 client daemon"
killproc dhcp6c
rm -f /var/run/dhcp6c.pid /var/lock/subsys/dhcp6c >/dev/null 2>&1
else
- msg_not_running DHCP6C
+ msg_not_running "DHCPv6 client daemon"
fi
}
================================================================
Index: SOURCES/dhcp6s.init
diff -u SOURCES/dhcp6s.init:1.5 SOURCES/dhcp6s.init:1.6
--- SOURCES/dhcp6s.init:1.5 Sat Dec 15 19:28:12 2007
+++ SOURCES/dhcp6s.init Sat Dec 15 19:31:00 2007
@@ -11,6 +11,7 @@
# config: /etc/dhcp6s.conf
# config: /etc/server6_addr.conf
# config: /etc/sysconfig/dhcp6s
+
# Source function library
. /etc/rc.d/init.d/functions
@@ -23,7 +24,7 @@
# Check that networking is up.
if is_yes "${NETWORKING}"; then
if [ ! -f /var/lock/subsys/network -a "$1" != stop -a "$1" != status ]; then
- msg_network_down DHCP6S
+ msg_network_down "DHCPv6 server daemon"
exit 1
fi
else
@@ -33,22 +34,22 @@
start() {
# Check if the service is already running?
if [ ! -f /var/lock/subsys/dhcp6s ]; then
- msg_starting "DHCP6S"
+ msg_starting "DHCPv6 server daemon"
daemon dhcp6s $DHCP6SIF
RETVAL=$?
[ $RETVAL -eq 0 ] && touch /var/lock/subsys/dhcp6s
else
- msg_already_running DHCP6S
+ msg_already_running "DHCPv6 server daemon"
fi
}
stop() {
if [ -f /var/lock/subsys/dhcp6s ]; then
- msg_stopping "DHCP6S Server"
+ msg_stopping "DHCPv6 server daemon"
killproc dhcp6s
rm -f /var/run/dhcp6s.pid /var/lock/subsys/dhcp6s >/dev/null 2>&1
else
- msg_not_running DHCP6S
+ msg_not_running "DHCPv6 server daemon"
fi
}
================================================================
---- CVS-web:
http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/SOURCES/dhcp6c.init?r1=1.4&r2=1.5&f=u
http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/SOURCES/dhcp6s.init?r1=1.5&r2=1.6&f=u
More information about the pld-cvs-commit
mailing list