Merge pull request #327 from riktam/adafruit#326
Fix enable and disable of Wayland.
This commit is contained in:
commit
faac4e8be3
1 changed files with 2 additions and 2 deletions
|
|
@ -741,11 +741,11 @@ def disable_wayland(disable):
|
|||
return
|
||||
if disable:
|
||||
print("Using X11 instead of Wayland")
|
||||
if not shell.run_command("sudo raspi-config nonint do_wayland W1"):
|
||||
if not shell.run_command("sudo raspi-config nonint do_wayland 0"):
|
||||
shell.bail("Unable to disable Wayland")
|
||||
else:
|
||||
print("Using Wayland instead of X11")
|
||||
if not shell.run_command("sudo raspi-config nonint do_wayland W1"):
|
||||
if not shell.run_command("sudo raspi-config nonint do_wayland 1"):
|
||||
shell.bail("Unable to enable Wayland")
|
||||
|
||||
####################################################### MAIN
|
||||
|
|
|
|||
Loading…
Reference in a new issue