mirror of
https://github.com/OSURoboticsClub/Rover_2017_2018.git
synced 2025-11-08 18:21:15 +00:00
Removed extra systemctl stop command that killed the script before the jstson could shut down.
This commit is contained in:
@@ -76,7 +76,6 @@ class AutoPoweroffWatchdog(object):
|
|||||||
if self.do_poweroff:
|
if self.do_poweroff:
|
||||||
system("sudo wall -n No devices seen for %s seconds. Powering down. Poweroff script exiting." %
|
system("sudo wall -n No devices seen for %s seconds. Powering down. Poweroff script exiting." %
|
||||||
self.shutdown_timeout)
|
self.shutdown_timeout)
|
||||||
system("sudo systemctl stop screen@nvidia")
|
|
||||||
system("sudo poweroff")
|
system("sudo poweroff")
|
||||||
exit()
|
exit()
|
||||||
else:
|
else:
|
||||||
|
|||||||
Reference in New Issue
Block a user