diff options
author | Roger Pau Monne <roger.pau@entel.upc.edu> | 2011-12-15 18:55:46 +0100 |
---|---|---|
committer | Roger Pau Monne <roger.pau@entel.upc.edu> | 2011-12-15 18:55:46 +0100 |
commit | c811f6765b3dfb768781352f37aa4ff65a8f54d7 (patch) | |
tree | 16b8d0067bbd262267bbe44938b033ce8169c5b4 /tools/hotplug/NetBSD | |
parent | 888fa55351bc751a0cca0150c92e01b449c5c219 (diff) | |
download | xen-c811f6765b3dfb768781352f37aa4ff65a8f54d7.tar.gz xen-c811f6765b3dfb768781352f37aa4ff65a8f54d7.tar.bz2 xen-c811f6765b3dfb768781352f37aa4ff65a8f54d7.zip |
hotplug: remove debug messages from NetBSD hotplug scripts
Remove unecessary debug messages from NetBSD hotplug scripts, left
error messages only.
Signed-off-by: Roger Pau Monne <roger.pau@entel.upc.edu>
Acked-by: Ian Jackson <ian.jackson.citrix.com>
Committed-by: Ian Jackson <ian.jackson.citrix.com>
Acked-by: Ian Jackson <ian.jackson@eu.citrix.com>
Diffstat (limited to 'tools/hotplug/NetBSD')
-rw-r--r-- | tools/hotplug/NetBSD/block | 4 | ||||
-rw-r--r-- | tools/hotplug/NetBSD/vif-bridge | 3 | ||||
-rw-r--r-- | tools/hotplug/NetBSD/vif-ip | 2 |
3 files changed, 0 insertions, 9 deletions
diff --git a/tools/hotplug/NetBSD/block b/tools/hotplug/NetBSD/block index d853e11584..cf5ff3a2f9 100644 --- a/tools/hotplug/NetBSD/block +++ b/tools/hotplug/NetBSD/block @@ -64,14 +64,12 @@ case $xstatus in if [ "$status" = "free" ] && \ vnconfig /dev/${disk}d $xparams >/dev/null; then device=/dev/${disk}d - echo vnconfig /dev/${disk}d $xparams break fi done if [ x$device = x ] ; then error "no available vnd device" fi - echo xenstore-write $xpath/vnd $device xenstore-write $xpath/vnd $device ;; phy) @@ -79,9 +77,7 @@ case $xstatus in ;; esac physical_device=$(stat -f '%r' "$device") - echo xenstore-write $xpath/physical-device $physical_device xenstore-write $xpath/physical-device $physical_device - echo xenstore-write $xpath/hotplug-status connected xenstore-write $xpath/hotplug-status connected exit 0 ;; diff --git a/tools/hotplug/NetBSD/vif-bridge b/tools/hotplug/NetBSD/vif-bridge index 16c4080bd6..64162a8809 100644 --- a/tools/hotplug/NetBSD/vif-bridge +++ b/tools/hotplug/NetBSD/vif-bridge @@ -24,12 +24,9 @@ case $xstatus in xfid=$(xenstore-read "$xpath/frontend-id") xhandle=$(xenstore-read "$xpath/handle") iface=$(xenstore-read "$xpath/vifname") - echo ifconfig $iface up ifconfig $iface up brconfig $xbridge add $iface - echo brconfig $xbridge add $iface xenstore-write $xpath/hotplug-status connected - echo xenstore-write $xpath/hotplug-status connected exit 0 ;; *) diff --git a/tools/hotplug/NetBSD/vif-ip b/tools/hotplug/NetBSD/vif-ip index 11c7373003..583e277318 100644 --- a/tools/hotplug/NetBSD/vif-ip +++ b/tools/hotplug/NetBSD/vif-ip @@ -24,10 +24,8 @@ case $xstatus in xfid=$(xenstore-read "$xpath/frontend-id") xhandle=$(xenstore-read "$xpath/handle") iface=$(xenstore-read "$xpath/vifname") - echo ifconfig $iface $xip up ifconfig $iface $xip up xenstore-write $xpath/hotplug-status connected - echo xenstore-write $xpath/hotplug-status connected exit 0 ;; *) |