Fix boot to desktop handling

This commit is contained in:
Serge Schneider 2015-06-03 15:12:15 +01:00
parent 7bc93a08c4
commit 208f03e708
2 changed files with 3 additions and 3 deletions

2
debian/changelog vendored
View File

@ -1,4 +1,4 @@
raspi-config (20150529) jessie; urgency=low
raspi-config (20150603) jessie; urgency=low
* systemd compatibility
* Add udevadm command to notify Xorg after change of keyboard layout - jojopi

View File

@ -599,7 +599,7 @@ do_boot_behaviour() {
Console)
if [ -e /etc/init.d/lightdm ]; then
if [ $SYSTEMD -eq 1 ]; then
systemctl disable lightdm
systemctl set-default multi-user.target
else
update-rc.d lightdm disable 2
fi
@ -609,7 +609,7 @@ do_boot_behaviour() {
if [ -e /etc/init.d/lightdm ]; then
if id -u pi > /dev/null 2>&1; then
if [ $SYSTEMD -eq 1 ]; then
systemctl enable lightdm
systemctl set-default graphical.target
else
update-rc.d lightdm enable 2
fi