From c14e091ae15ba8c3b382b1c3a74845ce4b74c430 Mon Sep 17 00:00:00 2001
From: Daniil Baturin <daniil@baturin.org>
Date: Mon, 9 Dec 2019 23:48:23 +0100
Subject: T1855: use the new script for "show reboot/poweroff".

Conflicts:
	Makefile.am
---
 templates/show/reboot/node.def | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

(limited to 'templates/show/reboot/node.def')

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
-- 
cgit v1.2.3

