blob: 8584e9d37b9130fe47a4bf612ef6fa47bbc94ae5 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
|
post_install() {
echo "==>"
echo "==> To enabled lightdm-autologin-greeter, change the following config files:"
echo "==>"
echo "==> /etc/lightdm/lightdm.conf"
echo "==> greeter-session = lightdm-autologin-greeter"
echo "==> user-session=lightdm-xsession"
echo "==> autologin-user=YOUR_USERNAME"
echo "==> pam-service=lightdm"
echo "==> pam-autologin-service=lightdm-autologin"
echo "==>"
echo "==> /etc/pam.d/lightdm"
echo "==> #%PAM-1.0"
echo "==> auth sufficient pam_succeed_if.so user ingroup nopasswdlogin"
echo "==> auth include system-login"
echo "==> ..."
echo "==>"
echo "==> Then logout & restart lightdm:"
echo "==>"
echo "==> sudo systemctl restart lightdm"
echo "==>"
}
post_upgrade() {
post_install
}
|