mirror of
https://github.com/brain-hackers/brain-config.git
synced 2025-04-11 17:47:31 +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
|
* systemd compatibility
|
||||||
* Add udevadm command to notify Xorg after change of keyboard layout - jojopi
|
* Add udevadm command to notify Xorg after change of keyboard layout - jojopi
|
||||||
|
@ -599,7 +599,7 @@ do_boot_behaviour() {
|
|||||||
Console)
|
Console)
|
||||||
if [ -e /etc/init.d/lightdm ]; then
|
if [ -e /etc/init.d/lightdm ]; then
|
||||||
if [ $SYSTEMD -eq 1 ]; then
|
if [ $SYSTEMD -eq 1 ]; then
|
||||||
systemctl disable lightdm
|
systemctl set-default multi-user.target
|
||||||
else
|
else
|
||||||
update-rc.d lightdm disable 2
|
update-rc.d lightdm disable 2
|
||||||
fi
|
fi
|
||||||
@ -609,7 +609,7 @@ do_boot_behaviour() {
|
|||||||
if [ -e /etc/init.d/lightdm ]; then
|
if [ -e /etc/init.d/lightdm ]; then
|
||||||
if id -u pi > /dev/null 2>&1; then
|
if id -u pi > /dev/null 2>&1; then
|
||||||
if [ $SYSTEMD -eq 1 ]; then
|
if [ $SYSTEMD -eq 1 ]; then
|
||||||
systemctl enable lightdm
|
systemctl set-default graphical.target
|
||||||
else
|
else
|
||||||
update-rc.d lightdm enable 2
|
update-rc.d lightdm enable 2
|
||||||
fi
|
fi
|
||||||
|
Loading…
Reference in New Issue
Block a user