vm/netwatcher: fix watch

This commit is contained in:
Marek Marczykowski 2012-03-09 01:54:16 +01:00
parent 9de77d7fe4
commit 703c74397f

View File

@ -24,8 +24,8 @@ while true; do
/usr/bin/xenstore-write qubes_netvm_external_ip "$CURR_NETCFG" /usr/bin/xenstore-write qubes_netvm_external_ip "$CURR_NETCFG"
fi 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 else
/usr/bin/xenstore-watch -n 1 qubes_netvm_domid /usr/bin/xenstore-watch -n 2 qubes_netvm_domid
fi fi
done done