diff options
author | Braden <archbugs@dabrado.net> | 2012-07-26 15:43:17 +0200 |
---|---|---|
committer | Jouke Witteveen <j.witteveen@gmail.com> | 2012-07-26 15:43:17 +0200 |
commit | fd096b445062eea02c20595ed863ce891b313779 (patch) | |
tree | 07af938fb792763763fe7d17f8075b138166e3e3 /src | |
parent | 018fd30fdefd349fde7fdbd355900f3f8bda0b92 (diff) | |
download | netctl-fd096b445062eea02c20595ed863ce891b313779.tar.gz netctl-fd096b445062eea02c20595ed863ce891b313779.tar.xz |
Add a priority option to wpa config (FS#30737)
Pass a priority parameter to wpa_supplicant (if specified).
This is useful for net-auto-wireless.
Diffstat (limited to 'src')
-rw-r--r-- | src/8021x | 7 |
1 files changed, 6 insertions, 1 deletions
@@ -269,7 +269,12 @@ make_wpa_config() { # Hidden SSID if checkyesno ${HIDDEN:-no}; then - echo "scan_ssid=1" + echo "scan_ssid=1" + fi + + # Priority group for the network + if [[ -n "$PRIORITY" ]]; then + echo "priority=$PRIORITY" fi } |