ia64/xen-unstable

view tools/examples/xen-backend.agent @ 10098:48c0f5489d44

Remove Emacs variables settings from tail of our Linux files.
Signed-off-by: Keir Fraser <keir@xensource.com>
author kaf24@firebug.cl.cam.ac.uk
date Thu May 18 11:39:03 2006 +0100 (2006-05-18)
parents 74e33cc868cf
children 2937703f0ed0
line source
1 #! /bin/sh
3 PATH=/etc/xen/scripts:$PATH
5 . /etc/xen/scripts/locking.sh
7 claim_lock xenbus_hotplug_global
9 case "$XENBUS_TYPE" in
10 vbd)
11 /etc/xen/scripts/block "$ACTION"
12 ;;
13 vtpm)
14 /etc/xen/scripts/vtpm "$ACTION"
15 ;;
16 vif)
17 [ -n "$script" ] && $script "$ACTION"
18 ;;
19 esac
21 case "$ACTION" in
22 add)
23 ;;
24 remove)
25 /etc/xen/scripts/xen-hotplug-cleanup
26 ;;
27 online)
28 ;;
29 offline)
30 ;;
31 esac
33 release_lock xenbus_hotplug_global