Removed extra systemctl stop command that killed the script before the jstson could shut down.

This commit is contained in:
2018-03-03 18:11:28 -08:00
parent 997a3e99ea
commit 8cd438de9a

View File

@@ -76,7 +76,6 @@ class AutoPoweroffWatchdog(object):
if self.do_poweroff:
system("sudo wall -n No devices seen for %s seconds. Powering down. Poweroff script exiting." %
self.shutdown_timeout)
system("sudo systemctl stop screen@nvidia")
system("sudo poweroff")
exit()
else: