aboutsummaryrefslogtreecommitdiffstats
path: root/meta-oe/recipes-core/udev/udev-165/bug/bmi_eventpipe.sh
diff options
context:
space:
mode:
Diffstat (limited to 'meta-oe/recipes-core/udev/udev-165/bug/bmi_eventpipe.sh')
-rw-r--r--meta-oe/recipes-core/udev/udev-165/bug/bmi_eventpipe.sh8
1 files changed, 8 insertions, 0 deletions
diff --git a/meta-oe/recipes-core/udev/udev-165/bug/bmi_eventpipe.sh b/meta-oe/recipes-core/udev/udev-165/bug/bmi_eventpipe.sh
new file mode 100644
index 0000000000..acbae56118
--- /dev/null
+++ b/meta-oe/recipes-core/udev/udev-165/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