Browse Source

add kbd backlight script

master
Cole Deck 10 months ago
parent
commit
e1a98f09d3
  1. 3
      vm
  2. 1
      vmrdp

3
vm

@ -1,8 +1,9 @@
#!/bin/bash
echo "Reserving hugepages"
echo 8192 | sudo tee /sys/kernel/mm/hugepages/hugepages-2048kB/nr_hugepages
echo 6144 | sudo tee /sys/kernel/mm/hugepages/hugepages-2048kB/nr_hugepages
echo 3 | sudo tee /proc/sys/vm/drop_caches
echo 1 | sudo tee /proc/sys/vm/compact_memory
echo 0-15 | sudo tee /sys/fs/cgroup/cpuset/machine.slice/cpuset.cpus
echo "Starting Network"
virsh --connect=qemu:///system net-start default
sudo systemctl start smb nmb

1
vmrdp

@ -3,6 +3,7 @@ echo "Reserving hugepages"
echo 8192 | sudo tee /sys/kernel/mm/hugepages/hugepages-2048kB/nr_hugepages
echo 3 | sudo tee /proc/sys/vm/drop_caches
echo 1 | sudo tee /proc/sys/vm/compact_memory
echo 0-15 | sudo tee /sys/fs/cgroup/cpuset/machine.slice/cpuset.cpus
echo "Starting Network"
virsh --connect=qemu:///system net-start default
sudo systemctl start smb nmb

Loading…
Cancel
Save

Proudly self-hosted by Cole Deck. Fast loading powered by Turbo.