Added extra line to poweroff to kill scripts first.

This commit is contained in:
2018-03-03 17:42:59 -08:00
parent ce10e9e802
commit b585eaab50

View File

@@ -76,6 +76,7 @@ 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: