summaryrefslogtreecommitdiff
path: root/templates
diff options
context:
space:
mode:
Diffstat (limited to 'templates')
-rw-r--r--templates/show/poweroff/node.def2
-rw-r--r--templates/show/reboot/node.def2
2 files changed, 2 insertions, 2 deletions
diff --git a/templates/show/poweroff/node.def b/templates/show/poweroff/node.def
index a65f4e6..1505800 100644
--- a/templates/show/poweroff/node.def
+++ b/templates/show/poweroff/node.def
@@ -1,2 +1,2 @@
help: Show scheduled poweroff
-run: sudo /opt/vyatta/bin/sudo-users/vyatta-poweroff.pl --action show_poweroff
+run: sudo /usr/libexec/vyos/op_mode/powerctrl.py --check
diff --git a/templates/show/reboot/node.def b/templates/show/reboot/node.def
index 882f700..dfb00d4 100644
--- a/templates/show/reboot/node.def
+++ b/templates/show/reboot/node.def
@@ -1,2 +1,2 @@
help: Show scheduled reboot
-run: sudo /opt/vyatta/bin/sudo-users/vyatta-reboot.pl --action show_reboot
+run: /usr/libexec/vyos/op_mode/powerctrl.py --check