summaryrefslogtreecommitdiff
path: root/net-profile
diff options
context:
space:
mode:
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()
{