]> git.pld-linux.org Git - packages/dhcpv6.git/blame - dhcpv6-initscripts.patch
- rel. 0.2
[packages/dhcpv6.git] / dhcpv6-initscripts.patch
CommitLineData
4d5f312b 1--- dhcp-0.10/dhcp6s.sh.orig 2005-09-18 22:48:31.000000000 +0200
2+++ dhcp-0.10/dhcp6s.sh 2005-09-18 22:48:56.000000000 +0200
3@@ -23,7 +23,7 @@
4 [ ${NETWORKING} = "no" ] && exit 0
5
6 # Check that files exist
7-[ -f /usr/local/sbin/dhcp6s ] || exit 0
8+[ -f /sbin/dhcp6s ] || exit 0
9 [ -f /etc/dhcp6s.conf ] || exit 0
10 [ -f /etc/server6_addr.conf ] || exit 0
11 [ ${DHCP6SIF} = "" ] && exit 0
12@@ -34,7 +34,7 @@
13 start() {
14 # Start daemons.
15 echo -n $"Starting $prog: "
16- daemon /usr/local/sbin/dhcp6s -c /etc/dhcp6s.conf ${DHCP6SARGS} ${DHCP6SIF}
17+ daemon /sbin/dhcp6s -c /etc/dhcp6s.conf ${DHCP6SARGS} ${DHCP6SIF}
18 RETVAL=$?
19 echo
20 [ $RETVAL -eq 0 ] && touch /var/lock/subsys/dhcp6s
21--- dhcp-0.10/dhcp6c.sh~ 2003-02-18 12:33:13.000000000 +0100
22+++ dhcp-0.10/dhcp6c.sh 2005-09-18 22:50:43.000000000 +0200
23@@ -22,7 +22,7 @@
24 [ ${NETWORKING} = "no" ] && exit 0
25
26 # Check that files exist
27-[ -f /usr/local/sbin/dhcp6c ] || exit 0
28+[ -f /sbin/dhcp6c ] || exit 0
29 [ -f /etc/dhcp6c.conf ] || exit 0
30 [ ${DHCP6CIF} = "" ] && exit 0
31
32@@ -32,7 +32,7 @@
33 start() {
34 # Start daemons.
35 echo -n $"Starting $prog: "
36- daemon /usr/local/sbin/dhcp6c -c /etc/dhcp6c.conf ${DHCP6CARGS} ${DHCP6CIF}
37+ daemon /sbin/dhcp6c -c /etc/dhcp6c.conf ${DHCP6CARGS} ${DHCP6CIF}
38 RETVAL=$?
39 echo
40 [ $RETVAL -eq 0 ] && touch /var/lock/subsys/dhcp6c
41@@ -52,7 +52,7 @@
42 release() {
43 # Release addresses.
44 echo -n $"Releasing assigned addresses $prog: "
45- daemon /usr/local/sbin/dhcp6c ${DHCP6CARGS} -r all ${DHCP6CIF}
46+ daemon /sbin/dhcp6c ${DHCP6CARGS} -r all ${DHCP6CIF}
47 RETVAL=$?
48 echo
49 return $RETVAL
This page took 0.03767 seconds and 4 git commands to generate.