Changes of Revision 11
[-] [+] | Changed | root.tar.bz2/etc/sysconfig/network/scripts/logserver-up.sh |
@@ -4,7 +4,7 @@ function get_logserver { cnt=0 echo -n "Trying to get logserver from dhcp info " - while [ ! -s /var/lib/dhcpcd/*.info ] || [ "$cnt" <= "30" ] ; do + while [ ! -s /var/lib/dhcpcd/*.info ] && [ "$cnt" <= "30" ] ; do DHCPINFOFILE=`grep -H ^LOGSERVER /var/lib/dhcpcd/*.info 2>/dev/null | awk -F: '{print $1}' 2>/dev/null` echo -n "." sleep 1 |