Actualiser install.sh
This commit is contained in:
parent
b8cb6b39d8
commit
ae43c15c19
@ -30,6 +30,11 @@ echo "127.0.1.1 $(hostname)" >> /etc/hosts
|
|||||||
echo "" >> /etc/hosts
|
echo "" >> /etc/hosts
|
||||||
wget -qO- --no-check-certificate https://raw.githubusercontent.com/StevenBlack/hosts/master/hosts >> /etc/hosts
|
wget -qO- --no-check-certificate https://raw.githubusercontent.com/StevenBlack/hosts/master/hosts >> /etc/hosts
|
||||||
|
|
||||||
|
# Désactivation de l'installation automatique des paquets recommandés
|
||||||
|
touch /etc/apt/apt.conf.d/00norecommends
|
||||||
|
echo 'APT::Install-Recommends "0";' > /etc/apt/apt.conf.d/00norecommends
|
||||||
|
echo 'APT::Install-Suggests "0";' >> /etc/apt/apt.conf.d/00norecommends
|
||||||
|
|
||||||
# noatime pour les partitions ext4
|
# noatime pour les partitions ext4
|
||||||
#cp /etc/fstab /etc/fstab.bck
|
#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
|
#awk '!/^#/ && ($3 != "swap") && ($2 != "/media/cdrom0") { if(!match(/noatime/, $4)) $4=$4",noatime" } 1' /etc/fstab > /etc/fstab.tmp
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user