mirror of
https://github.com/vanhoefm/fragattacks.git
synced 2024-12-01 11:48:23 -05:00
05736da8c6
This is useful for testing CRDA since it means you can use EPATH to redirect the test scripts to a different crda binary. Signed-off-by: Johannes Berg <johannes.berg@intel.com>
10 lines
210 B
Bash
Executable File
10 lines
210 B
Bash
Executable File
#!/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
|