mirror of
https://github.com/tommytran732/Linux-Setup-Scripts
synced 2024-12-24 07:42:01 -05:00
Enable fstrim.timer
This commit is contained in:
parent
8b6b7028d9
commit
d43598710f
@ -16,3 +16,6 @@ sudo apt update
|
||||
sudo apt -y --no-install-recommends install runsc
|
||||
sudo runsc install
|
||||
sudo systemctl restart docker
|
||||
|
||||
# Enable fstrim.timer
|
||||
sudo systemctl enable --now fstrim.timer
|
@ -105,3 +105,6 @@ sudo mkdir -p /etc/systemd/system/NetworkManager.service.d
|
||||
sudo curl https://gitlab.com/divested/brace/-/raw/master/brace/usr/lib/systemd/system/NetworkManager.service.d/99-brace.conf -o /etc/systemd/system/NetworkManager.service.d/99-brace.conf
|
||||
|
||||
echo "* hard core 0" | tee -a /etc/security/limits.conf
|
||||
|
||||
# Enable fstrim.timer
|
||||
sudo ystemctl enable --now fstrim.timer
|
@ -66,3 +66,6 @@ systemctl enable --now fwupd-refresh.timer
|
||||
sed -Ezi.bak "s/(Ext.Msg.show\(\{\s+title: gettext\('No valid sub)/void\(\{ \/\/\1/g" /usr/share/javascript/proxmox-widget-toolkit/proxmoxlib.js
|
||||
|
||||
systemctl restart pveproxy.service
|
||||
|
||||
# Enable fstrim.timer
|
||||
systemctl enable --now fstrim.timer
|
@ -107,3 +107,6 @@ sudo firewall-cmd --reload
|
||||
|
||||
sudo sed -i 's/apply_updates = no/apply_updates = yes\nreboot = when-needed/g' /etc/dnf/automatic.conf
|
||||
sudo systemctl enable --now dnf-automatic.timer
|
||||
|
||||
# Enable fstrim.timer
|
||||
sudo systemctl enable --now fstrim.timer
|
@ -110,3 +110,6 @@ connection.stable-id=${CONNECTION}/${BOOT}
|
||||
EOF
|
||||
|
||||
sudo systemctl restart NetworkManager
|
||||
|
||||
# Enable fstrim.timer
|
||||
sudo systemctl enable --now fstrim.timer
|
@ -46,5 +46,8 @@ sudo apt install fwupd
|
||||
mkdir -p /etc/systemd/system/fwupd-refresh.service.d
|
||||
echo '[Service]
|
||||
ExecStart=/usr/bin/fwupdmgr update' | tee /etc/systemd/system/fwupd-refresh.service.d/override.conf
|
||||
systemctl daemon-reload
|
||||
systemctl enable --now fwupd-refresh.timer
|
||||
sudo systemctl daemon-reload
|
||||
sudo systemctl enable --now fwupd-refresh.timer
|
||||
|
||||
# Enable fstrim.timer
|
||||
sudo systemctl enable --now fstrim.timer
|
Loading…
Reference in New Issue
Block a user