vm/netwatcher: fix watch

This commit is contained in:
Marek Marczykowski 2012-03-09 01:54:16 +01:00
parent ceed4507eb
commit e9d341ff71

View File

@ -24,8 +24,8 @@ while true; do
/usr/bin/xenstore-write qubes_netvm_external_ip "$CURR_NETCFG"
fi
/usr/bin/xenstore-watch -n 2 /local/domain/$NET_DOMID/qubes_netvm_external_ip qubes_netvm_domid
/usr/bin/xenstore-watch -n 3 /local/domain/$NET_DOMID/qubes_netvm_external_ip qubes_netvm_domid
else
/usr/bin/xenstore-watch -n 1 qubes_netvm_domid
/usr/bin/xenstore-watch -n 2 qubes_netvm_domid
fi
done