OSDN Git Service

create iconf for nvidia
authorpaperbenni <paperbenni@gmail.com>
Tue, 27 Oct 2020 16:16:08 +0000 (17:16 +0100)
committerpaperbenni <paperbenni@gmail.com>
Tue, 27 Oct 2020 16:16:08 +0000 (17:16 +0100)
userinstall.sh

index 5c9ee23..6612c45 100755 (executable)
@@ -27,6 +27,13 @@ if lsusb | grep -iq 'bluetooth'; then
     iconf -i hasbluetooth 1
 fi
 
+# change some behaviour like light for setting brightness
+if iconf -r hasnvidia
+then
+    iconf -i hasnvidia 1
+    iconf -i uselight 1
+fi
+
 instantmouse gen
 
 mkdir ~/instantos