summaryrefslogtreecommitdiff
path: root/src/op_mode/powerctrl.py
AgeCommit message (Collapse)Author
2020-04-27powerctl: T2010: bugfix "TypeError: 'NoneType' object is not subscriptable"Christian Poessinger
Commit d6384b2 ("powerctl: T2010: report reboot time in current timezone") added a migrator from UTC to local timezone but reading in the base value up for conversion was done outside the proper if/else clause leading to a: TypeError: 'NoneType' object is not subscriptable
2020-04-26powerctl: T2010: fix "wall" complaining about inapproriate ioctlChristian Poessinger
wall: cannot get tty name: Inappropriate ioctl for device - script is run in the background where there is normally no tty available - silently discard this warning.
2020-04-26powerctl: T2010: report reboot time in current timezoneChristian Poessinger
Do not inform the user when the reboot will happen in UTC, use the local timezone instead.
2020-04-26powerctl: import lessChristian Poessinger
2020-04-26powerctl: T2010: reformat with autopep8Christian Poessinger
2020-04-11util: T2226: send shutdown stdout back to the programThomas Mangin
The previous code conversion did not match the previous code.
2020-04-09util: T2226: os.system was wrongly converted to runThomas Mangin
os.system does print the ouput of the command, run() does not. A new function called call() does the printing and return the error code.
2020-04-06util: T2226: rewrite powerctl to use run,cmdThomas Mangin
2020-01-09powerctr: T1842: Use systemd files for detect scheduleDmitriyEshenko
2019-12-09T1855, T1826: Restore support for reboot/poweroff in M minutes.Daniil Baturin
2019-12-06T1855, T1826: clean up the reboot/shutdown script.Daniil Baturin
2019-12-04shutdown: T1826: Modify cancel reboot msgViacheslav Hletenko
2019-08-23[op-mode] T1607 rewrite 'reset conntrack', 'reset & show ip[v6]' to ↵Dmytro Aleksandrov
python/xml syntax
2018-11-04Add missing VyOS copyright noticesChristian Poessinger
2018-10-10T870: Commit-confirm restarts the server even after commithagbard
- adding removal of the at job and /var/run/confirm.job - indent fixed
2018-08-19T689: Reboot/Poweroff now not working after last changesRunar Borge
2018-08-17T689: Added support for specifying date on poweroff and rebootRunar Borge
2018-08-16T689: Rewritten poweroff/reboot script to use systemd-shutdownd serviceRunar Borge