diff options
author | James Rayner <james@archlinux.org> | 2007-12-25 21:32:43 +0100 |
---|---|---|
committer | James Rayner <james@archlinux.org> | 2007-12-25 21:32:43 +0100 |
commit | 2fc0a5d9baae63773cf7675b60459a85063279d5 (patch) | |
tree | 914f444b626a1a46d7d6ba162d4d001fd71b5016 /src | |
parent | f18ab0e80b2e48090408dd33071ed98a4ae6356b (diff) | |
download | netctl-2fc0a5d9baae63773cf7675b60459a85063279d5.tar.gz netctl-2fc0a5d9baae63773cf7675b60459a85063279d5.tar.xz |
added auto wireless support to rc.d/net-profiles
Diffstat (limited to 'src')
-rwxr-xr-x | src/net-profiles | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/net-profiles b/src/net-profiles index 0047fa7..9967b6e 100755 --- a/src/net-profiles +++ b/src/net-profiles @@ -24,6 +24,10 @@ case "$1" in /usr/bin/netcfg-menu 5 elif [ "$NET" ]; then /usr/bin/netcfg2 $NET + elif [ "${NETWORKS[0]}" = "auto" ]; then + if [ "${NETWORKS[1]}" ]; then + /usr/bin/netcfg-wireless-auto ${NETWORKS[1]} + fi elif [ "$NETWORKS" ]; then for prof in ${NETWORKS[@]}; do if [ "$prof" = "${prof#!}" ]; then |