Ditch the gsync line in screen settings file. Oops

- Add force option to `systemctl reboot`. Be careful.
This commit is contained in:
Luke D Jones
2020-09-23 16:51:09 +12:00
parent e572ae2c62
commit 67ad38a7e6
2 changed files with 1 additions and 2 deletions

View File

@@ -119,7 +119,7 @@ fn do_gfx(
); );
do_gfx_action( do_gfx_action(
command.force, command.force,
Command::new("systemctl").arg("reboot"), Command::new("systemctl").arg("reboot -i"),
"Reboot Linux PC", "Reboot Linux PC",
"Please reboot when ready", "Please reboot when ready",
)?; )?;

View File

@@ -1,5 +1,4 @@
Section "ServerLayout" Section "ServerLayout"
Identifier "layout" Identifier "layout"
Option "AllowNVIDIAGPUScreens" Option "AllowNVIDIAGPUScreens"
Option "metamodes" "nvidia-auto-select +0+0 {AllowGSYNC=On, AllowGSYNCCompatible=On}"
EndSection EndSection