summaryrefslogtreecommitdiffstats
path: root/stp_check.in
diff options
context:
space:
mode:
Diffstat (limited to 'stp_check.in')
-rwxr-xr-xstp_check.in4
1 files changed, 4 insertions, 0 deletions
diff --git a/stp_check.in b/stp_check.in
index 66a47feb..3f7fe0a8 100755
--- a/stp_check.in
+++ b/stp_check.in
@@ -1,5 +1,9 @@
#!/bin/bash
+# speed up grep and friends
+LANG=C
+export LANG
+
RELAYFS_FS=`grep relayfs_create_dir /proc/kallsyms`
RELAY=`grep relay_open /proc/kallsyms`
if [ -n "$RELAY" -a -z "$RELAYFS_FS" ]