quiet
This commit is contained in:
parent
345e9f0ef1
commit
15f6c6709b
|
@ -108,7 +108,7 @@ function initial_setup {
|
|||
}
|
||||
|
||||
function admin_user_sudo {
|
||||
if ! grep "$MY_USERNAME ALL=(ALL) ALL" $rootdir/etc/sudoers; then
|
||||
if ! grep -q "$MY_USERNAME ALL=(ALL) ALL" $rootdir/etc/sudoers; then
|
||||
echo "$MY_USERNAME ALL=(ALL) ALL" >> $rootdir/etc/sudoers
|
||||
fi
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue