diff --git a/panels/splash_screen.py b/panels/splash_screen.py index 65b88b96..6f1c4812 100644 --- a/panels/splash_screen.py +++ b/panels/splash_screen.py @@ -116,7 +116,7 @@ class Panel(ScreenPanel): "machine.shutdown") else: logging.info("OS Shutdown") - os.system("systemctl poweroff") + os.system("systemctl poweroff -i") def restart_system(self, widget): @@ -126,7 +126,7 @@ class Panel(ScreenPanel): "machine.reboot") else: logging.info("OS Reboot") - os.system("systemctl reboot") + os.system("systemctl reboot -i") def retry(self, widget): self.update_text((_("Connecting to %s") % self._screen.connecting_to_printer)) diff --git a/panels/system.py b/panels/system.py index 34904f0e..8a70193e 100644 --- a/panels/system.py +++ b/panels/system.py @@ -334,9 +334,9 @@ class Panel(ScreenPanel): self._gtk.remove_dialog(dialog) if response_id == Gtk.ResponseType.OK: if method == "reboot": - os.system("systemctl reboot") + os.system("systemctl reboot -i") else: - os.system("systemctl poweroff") + os.system("systemctl poweroff -i") elif response_id == Gtk.ResponseType.APPLY: if method == "reboot": self._screen._ws.send_method("machine.reboot")