Skip to content

Commit

Permalink
style systme.md
Browse files Browse the repository at this point in the history
  • Loading branch information
Tearran committed Sep 24, 2024
1 parent 9ef2298 commit b71453e
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions lib/armbian-configng/config.ng.system.sh
Original file line number Diff line number Diff line change
Expand Up @@ -214,10 +214,10 @@ function toggle_ssh_lastlog() {
else
# If PrintLastLog is found, toggle between 'yes' and 'no'
sed -i '/^#\?PrintLastLog /{
s/PrintLastLog yes/PrintLastLog no/;
t;
s/PrintLastLog no/PrintLastLog yes/
}' "${SDCARD}/etc/ssh/sshd_config"
s/PrintLastLog yes/PrintLastLog no/;
t;
s/PrintLastLog no/PrintLastLog yes/
}' "${SDCARD}/etc/ssh/sshd_config"
sudo service ssh restart
fi

Expand Down

0 comments on commit b71453e

Please sign in to comment.