diff options
author | Patrick Simianer <pks@pks.rocks> | 2018-06-21 14:10:53 +0200 |
---|---|---|
committer | Patrick Simianer <pks@pks.rocks> | 2018-06-21 14:10:53 +0200 |
commit | 081b22319924e46107b3e3d03a29afb705f9914a (patch) | |
tree | 028ed81dc4f3511ca1bcd75893675ff8facd993a /net-profile | |
parent | ae338f24efacc514081d14bea8ac4565bd971535 (diff) | |
parent | 0dfb7c145b41ffe349faf5d6abd7cc93f5d4b93b (diff) |
Merge branch 'master' of https://github.com/pks/bin
Diffstat (limited to 'net-profile')
-rwxr-xr-x | net-profile | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/net-profile b/net-profile index 7cb353d..607cb5b 100755 --- a/net-profile +++ b/net-profile @@ -1,6 +1,9 @@ #!/bin/sh DEV=`ls -1 /sys/class/net | grep wlan` +if [[ $DEV == "" ]]; then + DEV=`ls -1 /sys/class/net | grep wlp` +fi setup_wifi() { |