Actualiser install.sh
This commit is contained in:
parent
7d8fbf1b0f
commit
9ea40f02b4
@ -25,9 +25,10 @@ hostnamectl set-hostname $machinename
|
||||
#sed -i '1i 127.0.0.1\t'$machinename /etc/hosts
|
||||
|
||||
# Réecriture du fichier hosts avec le profil Unified hosts = (adware + malware) de Steven Black
|
||||
echo "127.0.0.1 $(hostname)" > hosts
|
||||
echo "127.0.1.1 $(hostname)" >> hosts
|
||||
{ echo ""; wget -qO- https://raw.githubusercontent.com/StevenBlack/hosts/master/hosts; } >> hosts
|
||||
echo "127.0.0.1 $(hostname)" > /etc/hosts
|
||||
echo "127.0.1.1 $(hostname)" >> /etc/hosts
|
||||
echo "" >> /etc/hosts
|
||||
wget -qO- --no-check-certificate https://raw.githubusercontent.com/StevenBlack/hosts/master/hosts >> /etc/hosts
|
||||
|
||||
# noatime pour les partitions ext4
|
||||
#cp /etc/fstab /etc/fstab.bck
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user