commit bec1513a07de0cb8ab9627c7f48d214b56d12d66
parent ec0df440f82e7a0daca10dc1b12a1c85bb47b9d7
Author: oblique <psyberbits@gmail.com>
Date: Thu, 25 Sep 2014 08:12:21 +0300
Make sure that all command outputs are in english, so we can parse them correctly
Fix #49
Diffstat:
1 file changed, 5 insertions(+), 0 deletions(-)
diff --git a/create_ap b/create_ap
@@ -16,6 +16,11 @@
# dependencies for 'bridge' Internet sharing method
# bridge-utils
+
+# make sure that all command outputs are in english
+# so we can parse them correctly
+export LC_ALL=C
+
usage() {
echo "Usage: $(basename $0) [options] <wifi-interface> [<interface-with-internet>] [<access-point-name> [<passphrase>]]"
echo