From: darekr Date: Sun, 18 Sep 2005 20:58:38 +0000 (+0000) Subject: - new. fix paths to daemons X-Git-Tag: auto/th/dhcpv6-0_10-0_8~29 X-Git-Url: http://git.pld-linux.org/?p=packages%2Fdhcpv6.git;a=commitdiff_plain;h=4d5f312b0554e7acee1e4268768c3551bddfad92 - new. fix paths to daemons Changed files: dhcpv6-initscripts.patch -> 1.1 --- diff --git a/dhcpv6-initscripts.patch b/dhcpv6-initscripts.patch new file mode 100644 index 0000000..efe75c4 --- /dev/null +++ b/dhcpv6-initscripts.patch @@ -0,0 +1,49 @@ +--- dhcp-0.10/dhcp6s.sh.orig 2005-09-18 22:48:31.000000000 +0200 ++++ dhcp-0.10/dhcp6s.sh 2005-09-18 22:48:56.000000000 +0200 +@@ -23,7 +23,7 @@ + [ ${NETWORKING} = "no" ] && exit 0 + + # Check that files exist +-[ -f /usr/local/sbin/dhcp6s ] || exit 0 ++[ -f /sbin/dhcp6s ] || exit 0 + [ -f /etc/dhcp6s.conf ] || exit 0 + [ -f /etc/server6_addr.conf ] || exit 0 + [ ${DHCP6SIF} = "" ] && exit 0 +@@ -34,7 +34,7 @@ + start() { + # Start daemons. + echo -n $"Starting $prog: " +- daemon /usr/local/sbin/dhcp6s -c /etc/dhcp6s.conf ${DHCP6SARGS} ${DHCP6SIF} ++ daemon /sbin/dhcp6s -c /etc/dhcp6s.conf ${DHCP6SARGS} ${DHCP6SIF} + RETVAL=$? + echo + [ $RETVAL -eq 0 ] && touch /var/lock/subsys/dhcp6s +--- dhcp-0.10/dhcp6c.sh~ 2003-02-18 12:33:13.000000000 +0100 ++++ dhcp-0.10/dhcp6c.sh 2005-09-18 22:50:43.000000000 +0200 +@@ -22,7 +22,7 @@ + [ ${NETWORKING} = "no" ] && exit 0 + + # Check that files exist +-[ -f /usr/local/sbin/dhcp6c ] || exit 0 ++[ -f /sbin/dhcp6c ] || exit 0 + [ -f /etc/dhcp6c.conf ] || exit 0 + [ ${DHCP6CIF} = "" ] && exit 0 + +@@ -32,7 +32,7 @@ + start() { + # Start daemons. + echo -n $"Starting $prog: " +- daemon /usr/local/sbin/dhcp6c -c /etc/dhcp6c.conf ${DHCP6CARGS} ${DHCP6CIF} ++ daemon /sbin/dhcp6c -c /etc/dhcp6c.conf ${DHCP6CARGS} ${DHCP6CIF} + RETVAL=$? + echo + [ $RETVAL -eq 0 ] && touch /var/lock/subsys/dhcp6c +@@ -52,7 +52,7 @@ + release() { + # Release addresses. + echo -n $"Releasing assigned addresses $prog: " +- daemon /usr/local/sbin/dhcp6c ${DHCP6CARGS} -r all ${DHCP6CIF} ++ daemon /sbin/dhcp6c ${DHCP6CARGS} -r all ${DHCP6CIF} + RETVAL=$? + echo + return $RETVAL