summaryrefslogtreecommitdiffstats
path: root/src/8021x
diff options
context:
space:
mode:
Diffstat (limited to 'src/8021x')
-rw-r--r--src/8021x4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/8021x b/src/8021x
index e954f2b..f57ba7e 100644
--- a/src/8021x
+++ b/src/8021x
@@ -90,11 +90,9 @@ make_wpa_config() {
esac
# Hidden SSID
- shopt -s nocasematch
- if [[ $HIDDEN == "yes" ]]; then
+ if checkyesno ${HIDDEN:-no}; then
echo "scan_ssid=1"
fi
- shopt -u nocasematch
}
# vim: ft=sh ts=4 et sw=4: