[debian12] fix: remove unused sudo remains
This commit is contained in:
parent
f6f51577ba
commit
b6f274248e
@ -4,10 +4,10 @@ DEBIAN_FRONTEND=noninteractive apt-get upgrade -y
|
|||||||
apt-get autoremove -y
|
apt-get autoremove -y
|
||||||
|
|
||||||
# install rc.local script
|
# install rc.local script
|
||||||
cat << 'EOL' | sudo tee /etc/rc.local
|
cat << 'EOL' | tee /etc/rc.local
|
||||||
#!/bin/sh -ef
|
#!/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
|
exit 0
|
||||||
EOL
|
EOL
|
||||||
chmod +x /etc/rc.local
|
chmod +x /etc/rc.local
|
||||||
|
Loading…
Reference in New Issue
Block a user