Merged the hostap_2.6 updates, and the Leap of Faith work, from the hostap_update...
[mech_eap.git] / libeap / tests / hwsim / vm / uevent.sh
diff --git a/libeap/tests/hwsim/vm/uevent.sh b/libeap/tests/hwsim/vm/uevent.sh
new file mode 100755 (executable)
index 0000000..76e31e7
--- /dev/null
@@ -0,0 +1,9 @@
+#!/bin/sh
+
+EPATH=$(sed 's/.*EPATH=\([^ ]*\) .*/\1/' /proc/cmdline)
+PATH=/tmp/bin:$EPATH:$PATH
+
+# assume this was a call for CRDA,
+# if not then it won't find a COUNTRY
+# environment variable and exit
+exec crda