Skip to content

Commit c4988db

Browse files
committed
todo
1 parent 3d8a192 commit c4988db

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

usr/sbin/autologinchange

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -427,10 +427,13 @@ fi
427427

428428
## Ensure that lightdm doesn't have a multi-seat configuration, we can't
429429
## safely manage those
430+
## TODO: consider cases with leading spaces
431+
## TODO: ignore comments
430432
if grep --quiet --recrusive --ignore-case -- '^\[Seat:[^*]' /etc/lightdm; then
431433
echo "ERROR: Multi-seat lightdm configuration detected, cannot proceed!" >&2
432434
exit 1
433435
fi
436+
434437
readarray -t autologin_users_lightdm < <(
435438
grep --quiet --ignore-case -- '^autologin-user=' /etc/lightdm \
436439
| filter_out_sysmaint_maybe \

0 commit comments

Comments
 (0)