Actualiser install.sh
This commit is contained in:
parent
f5b58f32e8
commit
56f0e1ebb5
11
install.sh
11
install.sh
@ -1,8 +1,5 @@
|
||||
#!/bin/bash
|
||||
|
||||
# Résolution écran
|
||||
xrandr -s 1920x1080_60.00
|
||||
|
||||
# Bannière
|
||||
cat wibian.figlet
|
||||
echo -ne "\n"
|
||||
@ -28,14 +25,6 @@ cp /etc/fstab /etc/fstab.bck
|
||||
awk '!/^#/ && ($3 != "swap") && ($2 != "/media/cdrom0") { if(!match(/noatime/, $4)) $4=$4",noatime" } 1' /etc/fstab > /etc/fstab.tmp
|
||||
mv /etc/fstab.tmp /etc/fstab
|
||||
|
||||
# swapiness
|
||||
echo "vm.swappiness=1" >> /etc/sysctl.conf
|
||||
echo "Désactivation et vidage de la mémoire swap - Veuillez patentier..."
|
||||
swapoff -a
|
||||
echo "Activation de la mémoire swap avec prise en compte de la valeur 1 "
|
||||
swapon -a
|
||||
sleep 3
|
||||
|
||||
# Désinstallation complète de LibreOffice
|
||||
apt remove --purge libreoffice* -y
|
||||
apt autoremove -y
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user