disable eth1 interface of UML host alice after booting

This commit is contained in:
Andreas Steffen
2008-02-14 21:24:54 +00:00
parent f750247f5e
commit af0de6272d
+6
View File
@@ -116,6 +116,12 @@ do
else
cgecho "up"
fi
if [ "$host" = "alice" ]
then
eval ipv4_${host}="`echo $HOSTNAMEIPV4 | sed -n -e "s/^.*${host},//gp" | awk -F, '{ print $1 }' | awk '{ print $1 }'`"
ssh $ipv4_alice /etc/init.d/net.eth1 stop
fi
done
cecho " * All uml instances are up now"