diff options
Diffstat (limited to 'ifupdown/if-pre-up')
-rwxr-xr-x | ifupdown/if-pre-up | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/ifupdown/if-pre-up b/ifupdown/if-pre-up index 73aba1b..d3f17f4 100755 --- a/ifupdown/if-pre-up +++ b/ifupdown/if-pre-up @@ -37,7 +37,8 @@ get_iface_opts() wpa_opts_start_cb() { exec 3>"/var/run/wpa_supplicant.${IFACE}.conf" - printf 'ctrl_interface=DIR=/var/run/wpa_supplicant\ncountry=US\n\n' >&3 + printf 'ctrl_interface=DIR=/var/run/wpa_supplicant.%s\ncountry=US\n\n' \ + "${IFACE}" >&3 printf 'network={\n' >&3 } |