22 lines
660 B
Diff
22 lines
660 B
Diff
diff -up radvd-1.1/redhat/radvd.init.string_cmp radvd-1.1/redhat/radvd.init
|
|
--- radvd-1.1/redhat/radvd.init.string_cmp 2008-02-25 11:27:36.000000000 +0100
|
|
+++ radvd-1.1/redhat/radvd.init 2008-02-25 11:30:30.000000000 +0100
|
|
@@ -28,7 +28,7 @@
|
|
|
|
[ -f /etc/sysconfig/radvd ] && . /etc/sysconfig/radvd
|
|
|
|
-if [ $1 == 'status' ]; then
|
|
+if [ "$1" == "status" ]; then
|
|
[ -f /usr/sbin/radvd ] || exit 4
|
|
else
|
|
[ -f /usr/sbin/radvd ] || exit 1
|
|
@@ -43,7 +43,7 @@ case "$1" in
|
|
start)
|
|
|
|
# Check that networking is up.
|
|
- [ x${NETWORKING_IPV6} = "xyes" ] || exit 1
|
|
+ [ "${NETWORKING_IPV6}" = "yes" ] || exit 1
|
|
|
|
echo -n $"Starting $PROG: "
|
|
daemon radvd $OPTIONS
|