mirror of
https://github.com/brain-hackers/brain-config.git
synced 2024-12-22 20:20:06 +09:00
Fix boot to desktop handling
This commit is contained in:
parent
7bc93a08c4
commit
208f03e708
2
debian/changelog
vendored
2
debian/changelog
vendored
@ -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
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user