aboutsummaryrefslogtreecommitdiffstats
path: root/recipes/udev-rules-buglabs/bug-udev/bmi_eventpipe.sh
blob: 9b4210fa6d2091bbb671c50dcca754bc744f3d10 (plain)
1
2
3
4
5
6
7
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