wait 5 seconds before deactivating eth1 interface on alice

This commit is contained in:
Andreas Steffen
2008-10-07 04:56:50 +00:00
parent e8c58d8e64
commit 41b1cd6b87
4 changed files with 4 additions and 0 deletions
+1
View File
@@ -119,6 +119,7 @@ do
if [ "$host" = "alice" ]
then
sleep 5
eval ipv4_${host}="`echo $HOSTNAMEIPV4 | sed -n -e "s/^.*${host},//gp" | awk -F, '{ print $1 }' | awk '{ print $1 }'`"
ssh root@$ipv4_alice /etc/init.d/net.eth1 stop
fi
+1
View File
@@ -119,6 +119,7 @@ do
if [ "$host" = "alice" ]
then
sleep 5
eval ipv4_${host}="`echo $HOSTNAMEIPV4 | sed -n -e "s/^.*${host},//gp" | awk -F, '{ print $1 }' | awk '{ print $1 }'`"
ssh root@$ipv4_alice /etc/init.d/net.eth1 stop
fi
+1
View File
@@ -110,6 +110,7 @@ do
if [ "$host" = "alice" ]
then
sleep 5
eval ipv4_${host}="`echo $HOSTNAMEIPV4 | sed -n -e "s/^.*${host},//gp" | awk -F, '{ print $1 }' | awk '{ print $1 }'`"
ssh root@$ipv4_alice /etc/init.d/net.eth1 stop
fi
+1
View File
@@ -119,6 +119,7 @@ do
if [ "$host" = "alice" ]
then
sleep 5
eval ipv4_${host}="`echo $HOSTNAMEIPV4 | sed -n -e "s/^.*${host},//gp" | awk -F, '{ print $1 }' | awk '{ print $1 }'`"
ssh root@$ipv4_alice /etc/init.d/net.eth1 stop
fi