Changes of Revision 13
[-] [+] | Changed | root.tar.bz2/etc/sysconfig/network/scripts/logserver-up.sh |
@@ -3,14 +3,12 @@ function get_logserver { cnt=0 - echo -n "Trying to get logserver from dhcp info " 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 cnt=`expr $cnt + 1` done - echo " " if [ -f "${DHCPINFOFILE}" ] ; then . ${DHCPINFOFILE} export LOGSERVER |