summaryrefslogtreecommitdiffstats
path: root/abs/core-testing/LinHES-config/install_proxy.sh
diff options
context:
space:
mode:
Diffstat (limited to 'abs/core-testing/LinHES-config/install_proxy.sh')
-rwxr-xr-xabs/core-testing/LinHES-config/install_proxy.sh7
1 files changed, 4 insertions, 3 deletions
diff --git a/abs/core-testing/LinHES-config/install_proxy.sh b/abs/core-testing/LinHES-config/install_proxy.sh
index e6b0976..195d7af 100755
--- a/abs/core-testing/LinHES-config/install_proxy.sh
+++ b/abs/core-testing/LinHES-config/install_proxy.sh
@@ -437,7 +437,7 @@ echo "-----------------------------------------------------------------------3--
check_self)
myipdefault=`ifconfig | grep -C1 $default_interface| grep -v $default_interface | cut -d: -f2 | awk '{ print $1}'`
echo "network check myself"
- ifconfig
+ ifconfig
ping -c 1 $myipdefault
if [ ! $? = 0 ]
then
@@ -448,12 +448,13 @@ echo "-----------------------------------------------------------------------3--
check_gw)
#check gateway
echo "network check gateway"
- /sbin/route -n
+ /sbin/route -n
mygwdefault=`/sbin/route -n |grep $default_interface|grep UG|awk '{ print $2}'`
echo "Default gateway seems to be $mygwdefault"
if [ ! x$mygwdefault = x ]
then
- ping -c 1 $mygwdefault
+ sleep 2
+ ping -c 5 $mygwdefault
if [ ! $? = 0 ]
then
exit 4