summaryrefslogtreecommitdiff
path: root/net-profile
diff options
context:
space:
mode:
authorPatrick Simianer <p@simianer.de>2018-10-19 08:34:38 +0200
committerPatrick Simianer <p@simianer.de>2018-10-19 08:34:38 +0200
commitcbbebb3770b572514baf7b67458f4b9d047ff0f4 (patch)
treea0e8540954a36eff3598f4219baa9b14cf22a3d6 /net-profile
parentcf7179a73d41a705ef072fcee373c23be2366e88 (diff)
parent081b22319924e46107b3e3d03a29afb705f9914a (diff)
merge
Diffstat (limited to 'net-profile')
-rwxr-xr-xnet-profile3
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()
{