mirror of
https://github.com/xen-project/xen.git
synced 2026-10-29 18:50:05 +01:00
Chris Bainbridge posted the end of last week but doing things as directly as possible. Signed-off-by: Jeremy Katz <katzj@redhat.com>
5 lines
389 B
Plaintext
5 lines
389 B
Plaintext
SUBSYSTEM=="xen-backend", KERNEL=="vbd*", ACTION=="add", RUN+="/etc/xen/scripts/block bind"
|
|
SUBSYSTEM=="xen-backend", KERNEL=="vbd*", ACTION=="remove", RUN+="/etc/xen/scripts/block unbind"
|
|
SUBSYSTEM=="xen-backend", KERNEL=="vif*", ENV{PHYSDEVDRIVER}=="vif", ACTION=="online", RUN+="$env{script} up"
|
|
SUBSYSTEM=="xen-backend", ACTION=="remove", RUN+="/usr/bin/xenstore-rm $env{XENBUS_PATH}"
|