OSDN Git Service

haswifi detection
authorpaperbenni <paperbenni@gmail.com>
Mon, 2 Mar 2020 20:35:03 +0000 (21:35 +0100)
committerpaperbenni <paperbenni@gmail.com>
Mon, 2 Mar 2020 20:35:03 +0000 (21:35 +0100)
userinstall.sh

index ba52369..5b38c4f 100755 (executable)
@@ -13,6 +13,12 @@ if acpi | grep -q '[0-9]%' &>/dev/null; then
     touch .cache/islaptop
 fi
 
+# needed for nm-applet start
+if lspci | grep -Eiq '(wifi|wireless)'; then
+    echo "device has wifi capabilities"
+    touch .cache/haswifi
+fi
+
 cd
 mkdir -p instantos/notifications &>/dev/null