Only remove motd instructions once
This commit is contained in:
parent
c713c613c9
commit
bd86c4b19a
|
@ -379,7 +379,9 @@ function mark_admin_user_account {
|
|||
}
|
||||
|
||||
function remove_instructions_from_motd {
|
||||
if grep -q "## " /etc/motd; then
|
||||
sed -i '/## /d' /etc/motd
|
||||
fi
|
||||
}
|
||||
|
||||
function remove_default_user {
|
||||
|
|
Loading…
Reference in New Issue