summaryrefslogtreecommitdiff
path: root/recipes/udev/udev-154/bug/bmi_eventpipe.sh
diff options
context:
space:
mode:
Diffstat (limited to 'recipes/udev/udev-154/bug/bmi_eventpipe.sh')
-rw-r--r--recipes/udev/udev-154/bug/bmi_eventpipe.sh8
1 files changed, 8 insertions, 0 deletions
diff --git a/recipes/udev/udev-154/bug/bmi_eventpipe.sh b/recipes/udev/udev-154/bug/bmi_eventpipe.sh
new file mode 100644
index 0000000000..acbae56118
--- /dev/null
+++ b/recipes/udev/udev-154/bug/bmi_eventpipe.sh
@@ -0,0 +1,8 @@
+#!/bin/sh
+#
+# This script passes BMI state variables to the running JVM.
+#
+if [ ${BMIBUS_PRODUCT} != "" ] && [ ${BMIBUS_SLOT} != "" ] && [ ${ACTION} != "" ];
+then
+ echo $BMIBUS_PRODUCT 0 $BMIBUS_SLOT $ACTION > /tmp/eventpipe
+fi