OSDN Git Service

add st to dpi settings
[instantos/instantOS.git] / userinstall.sh
index 0e2a578..41b3579 100755 (executable)
@@ -8,7 +8,7 @@ cd
 echo "installing instantOS tools"
 
 # laptop specific stuff
-if acpi | grep -q '[0-9]%' &>/dev/null; then
+if acpi | grep -q '.' &>/dev/null; then
     # config file to indicate being a laptop
     echo "device appears to be a laptop"
     iconf -i islaptop 1
@@ -18,6 +18,7 @@ fi
 if lspci | grep -Eiq '(wifi|wireless)'; then
     echo "device has wifi capabilities"
     iconf -i haswifi 1
+    iconf -i wifiapplet 1
 fi
 
 # needed to disable bluetooth service
@@ -25,3 +26,8 @@ if lsusb | grep -iq 'bluetooth'; then
     echo "device has bluetooth"
     iconf -i hasbluetooth 1
 fi
+
+instantmouse gen
+
+mkdir ~/instantos
+iconf -i userinstall 1