SOURCES: noip.init - fixed config check condition. That one works ...
blues
blues at pld-linux.org
Wed May 9 19:40:15 CEST 2007
Author: blues Date: Wed May 9 17:40:15 2007 GMT
Module: SOURCES Tag: HEAD
---- Log message:
- fixed config check condition. That one works in real life.
---- Files affected:
SOURCES:
noip.init (1.2 -> 1.3)
---- Diffs:
================================================================
Index: SOURCES/noip.init
diff -u SOURCES/noip.init:1.2 SOURCES/noip.init:1.3
--- SOURCES/noip.init:1.2 Thu Apr 13 10:54:50 2006
+++ SOURCES/noip.init Wed May 9 19:40:10 2007
@@ -20,7 +20,7 @@
RETVAL=0
case "$1" in
start)
- if [ "x`grep -vE "/^$/" /etc/noip.conf`" = "x" ]; then
+ if [ ! -s /etc/noip.conf ]; then
echo "You should first run $0 config to prepare configuration";
exit 3
fi
================================================================
---- CVS-web:
http://cvs.pld-linux.org/SOURCES/noip.init?r1=1.2&r2=1.3&f=u
More information about the pld-cvs-commit
mailing list