Mesh client boots to X
This commit is contained in:
parent
d840fc68cd
commit
f95cef531d
|
@ -1102,6 +1102,8 @@ function configure_user_interface {
|
||||||
echo 'ExecStart=' >> $rootdir/etc/systemd/system/getty@tty1.service.d/override.conf
|
echo 'ExecStart=' >> $rootdir/etc/systemd/system/getty@tty1.service.d/override.conf
|
||||||
echo 'ExecStart=-/sbin/agetty --autologin fbone --noclear %I $TERM' >> $rootdir/etc/systemd/system/getty@tty1.service.d/override.conf
|
echo 'ExecStart=-/sbin/agetty --autologin fbone --noclear %I $TERM' >> $rootdir/etc/systemd/system/getty@tty1.service.d/override.conf
|
||||||
|
|
||||||
|
echo '[[ -z $DISPLAY && $XDG_VTNR -eq 1 ]] && exec startx' >> $rootdir/home/$MY_USERNAME/.profile
|
||||||
|
|
||||||
# change the desktop background
|
# change the desktop background
|
||||||
if [ $MESH_DESKTOP_BACKGROUND_IMAGE ]; then
|
if [ $MESH_DESKTOP_BACKGROUND_IMAGE ]; then
|
||||||
if [ -f $MESH_DESKTOP_BACKGROUND_IMAGE ]; then
|
if [ -f $MESH_DESKTOP_BACKGROUND_IMAGE ]; then
|
||||||
|
|
Loading…
Reference in New Issue