lightdm.kur-kos 445 B

12345678910111213
  1. sed -i "s/^id:[3-5]/id:5/" /etc/inittab
  2. if ! getent group lightdm 1>/dev/null 2>/dev/null ; then
  3. groupadd -g 800 lightdm
  4. elif ! getent passwd lightdm 1>/dev/null 2>/dev/null ; then
  5. useradd -d /var/lib/lightdm -s /bin/false -u 800 -g 800 lightdm
  6. fi
  7. mkdir -p /var/lib/lightdm
  8. chown -Rf lightdm:lightdm /var/lib/lightdm
  9. mkdir -p /var/lib/lightdm-data
  10. chown -Rf lightdm:lightdm /var/lib/lightdm-data
  11. [ `mps -kk slim` = "kurulu" ] && mps sil slim