From b6f274248ee089cb0c09ebf21596239d3032efb0 Mon Sep 17 00:00:00 2001 From: Simon Cornet Date: Mon, 15 Jul 2024 18:18:42 +0200 Subject: [PATCH] [debian12] fix: remove unused sudo remains --- scripts/debian12.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/debian12.sh b/scripts/debian12.sh index 4ebdd39..6eb00d5 100644 --- a/scripts/debian12.sh +++ b/scripts/debian12.sh @@ -4,10 +4,10 @@ DEBIAN_FRONTEND=noninteractive apt-get upgrade -y apt-get autoremove -y # install rc.local script -cat << 'EOL' | sudo tee /etc/rc.local +cat << 'EOL' | tee /etc/rc.local #!/bin/sh -ef # -test -f /etc/ssh/ssh_host_dsa_key || sudo -u root dpkg-reconfigure openssh-server +test -f /etc/ssh/ssh_host_dsa_key || dpkg-reconfigure openssh-server exit 0 EOL chmod +x /etc/rc.local