diff options
author | Daniil Baturin <daniil@baturin.org> | 2019-12-09 23:48:23 +0100 |
---|---|---|
committer | Daniil Baturin <daniil@baturin.org> | 2019-12-09 23:51:52 +0100 |
commit | c14e091ae15ba8c3b382b1c3a74845ce4b74c430 (patch) | |
tree | 3869e273e49d6801c44f0c291d20d0a189b21e0f /templates | |
parent | 9e5c463b746cbc9adc74242a07ab3630b89a344e (diff) | |
download | vyatta-op-c14e091ae15ba8c3b382b1c3a74845ce4b74c430.tar.gz vyatta-op-c14e091ae15ba8c3b382b1c3a74845ce4b74c430.zip |
T1855: use the new script for "show reboot/poweroff".
Conflicts:
Makefile.am
Diffstat (limited to 'templates')
-rw-r--r-- | templates/show/poweroff/node.def | 2 | ||||
-rw-r--r-- | templates/show/reboot/node.def | 2 |
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 |