mirror of
https://github.com/OSURoboticsClub/Rover_2017_2018.git
synced 2025-11-08 10:11:14 +00:00
Added extra line to poweroff to kill scripts first.
This commit is contained in:
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user