OSDN Git Service
(root)
/
instantos
/
instantOS.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3cad07e
)
haswifi detection
author
paperbenni
<paperbenni@gmail.com>
Mon, 2 Mar 2020 20:35:03 +0000
(21:35 +0100)
committer
paperbenni
<paperbenni@gmail.com>
Mon, 2 Mar 2020 20:35:03 +0000
(21:35 +0100)
userinstall.sh
patch
|
blob
|
history
diff --git
a/userinstall.sh
b/userinstall.sh
index
ba52369
..
5b38c4f
100755
(executable)
--- a/
userinstall.sh
+++ b/
userinstall.sh
@@
-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