diff --git a/scripts/ssh.sh b/scripts/ssh.sh index d4995de..7b6066b 100644 --- a/scripts/ssh.sh +++ b/scripts/ssh.sh @@ -4,10 +4,10 @@ if [ -f "/etc/resolv.conf" ] then cp /etc/resolv.conf /etc/resolv.conf.bak - sudo chattr -i /etc/resolv.conf + chattr -i /etc/resolv.conf echo "nameserver 8.8.8.8" | tee -a /etc/resolv.conf > /dev/null echo "nameserver 8.8.4.4" | tee -a /etc/resolv.conf > /dev/null - sudo chattr +i /etc/resolv.conf + chattr +i /etc/resolv.conf fi temp_file_apt_fix="/tmp/apt_fix.txt"