1
--- vif 2010-12-20 16:39:46.000000000 +0000
2
+++ vif_modified 2010-11-19 23:24:37.000000000 +0000
5
# xs-xen.pq.hq:91e986b8e49f netback-wait-for-hotplug
6
xenstore-write "/local/domain/0/backend/vif/${DOMID}/${DEVID}/hotplug-status" "connected"
7
+ python /etc/xensource/scripts/vif_rules.py ${DOMID} online 2>&1 > /dev/null
14
if [ "${TYPE}" = "vif" ] ;then
15
+ python /etc/xensource/scripts/vif_rules.py ${DOMID} offline 2>&1 > /dev/null
16
xenstore-rm "${HOTPLUG}/hotplug"
18
logger -t scripts-vif "${dev} has been removed"