From cb6b021424ab75792e095caaeb81db749ab3c85d Mon Sep 17 00:00:00 2001 From: spiritlhl <103393591+spiritLHLS@users.noreply.github.com> Date: Tue, 22 Aug 2023 13:07:06 +0000 Subject: [PATCH] update --- scripts/ssh.sh | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/scripts/ssh.sh b/scripts/ssh.sh index e192e60..2326c71 100644 --- a/scripts/ssh.sh +++ b/scripts/ssh.sh @@ -1,14 +1,12 @@ #!/bin/bash # from # https://github.com/spiritLHLS/pve -# 2023.08.09 +# 2023.08.22 if [ -f "/etc/resolv.conf" ]; then cp /etc/resolv.conf /etc/resolv.conf.bak - 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 - chattr +i /etc/resolv.conf fi temp_file_apt_fix="/tmp/apt_fix.txt"