Merge branch 'feat/55-add-restart-command'
This commit is contained in:
parent
93222b6023
commit
d70198b14b
|
@ -679,6 +679,16 @@ class KlipperPlugin(
|
|||
|
||||
__plugin_name__ = "OctoKlipper"
|
||||
__plugin_pythoncompat__ = ">=2.7,<4"
|
||||
__plugin_settings_overlay__ = {
|
||||
'system': {
|
||||
'actions': [{
|
||||
'action': 'octoklipper_restart',
|
||||
'command': 'sudo service klipper restart',
|
||||
'name': 'Restart Klipper',
|
||||
'confirm': '<h3><center><b>' + gettext("You are about to restart Klipper!") + '<br>' + gettext("This will stop ongoing prints!") + '</b></center></h3><br>Command = "sudo service klipper restart"'
|
||||
}]
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
def __plugin_load__():
|
||||
|
|
Loading…
Reference in New Issue