Update 'debian.sh'
This commit is contained in:
parent
c5d1896143
commit
64d52b2729
@ -30,7 +30,7 @@ SHARED_DESKTOP_APPS=" gnome-core yt-dlp "
|
||||
PACKAGES=" samba samba-common nfs-common nfs-kernel-server linux-cpupower locales syncthing redis aardvark-dns cockpit cockpit-machines cockpit-podman flatpak powertop blueman cups acpi packagekit cockpit-packagekit cockpit-pcp cockpit-storaged acpid podman podman-compose pulseaudio aardvark-dns ghostscript cifs-utils ntp vim-airline rsync screen base udev git network-manager efibootmgr linux-headers-amd64 cryptsetup network-manager-openvpn ntp screen docbook-xsl alsa-utils sysstat postgresql redis neofetch podman-toolbox fuse3 build-essential unzip bash-completion parted dosfstools wget curl "
|
||||
VIRTUALIZATION=" virt-manager qemu-system libvirt-daemon-system ovmf "
|
||||
PACKAGES=$PACKAGES$SHARED_DESKTOP_APPS$VIRTUALIZATION
|
||||
SERVICES+=( powertop cpupower );
|
||||
SERVICES+=( powertop );
|
||||
|
||||
auto_login(){
|
||||
sed -i "/#WaylandEnable=false/a AutomaticLoginEnable=True" $TARGET/etc/gdm3/daemon.conf
|
||||
@ -343,6 +343,8 @@ custom_service_files() {
|
||||
echo "Description=Powertop tunings" >>$TARGET/etc/systemd/system/powertop.service
|
||||
echo "[Service]" >>$TARGET/etc/systemd/system/powertop.service
|
||||
echo "Type=oneshot" >>$TARGET/etc/systemd/system/powertop.service
|
||||
echo "ExecPreStart=/usr/bin/cpupower frequency-set -g powersave -d 400MHz" >>$TARGET/etc/systemd/system/powertop.service
|
||||
echo "ExecPreStart=/usr/bin/cpupower frequency-set -g powersave -u 2GHz" >>$TARGET/etc/systemd/system/powertop.service
|
||||
echo "ExecStart=/usr/sbin/powertop --auto-tune" >>$TARGET/etc/systemd/system/powertop.service
|
||||
echo "[Install]" >>$TARGET/etc/systemd/system/powertop.service
|
||||
echo "WantedBy=multi-user.target" >>$TARGET/etc/systemd/system/powertop.service
|
||||
|
Loading…
Reference in New Issue
Block a user