summaryrefslogtreecommitdiff
path: root/templates/reboot
diff options
context:
space:
mode:
authorStig Thormodsrud <stig@vyatta.com>2010-03-16 20:19:35 -0700
committerStig Thormodsrud <stig@vyatta.com>2010-03-16 20:19:35 -0700
commit9dd9f5cfce52f22c88112da863a4a5bf7d5f3668 (patch)
tree131a25e3d0055e404a56c1655ce636fbeefd2f52 /templates/reboot
parent45d1688244b6d9f539c2f5a258a42d6d710bc595 (diff)
downloadvyatta-op-9dd9f5cfce52f22c88112da863a4a5bf7d5f3668.tar.gz
vyatta-op-9dd9f5cfce52f22c88112da863a4a5bf7d5f3668.zip
Add "reboot now" to prevent confirmation prompt.
Diffstat (limited to 'templates/reboot')
-rw-r--r--templates/reboot/now/node.def2
1 files changed, 2 insertions, 0 deletions
diff --git a/templates/reboot/now/node.def b/templates/reboot/now/node.def
new file mode 100644
index 0000000..2171b45
--- /dev/null
+++ b/templates/reboot/now/node.def
@@ -0,0 +1,2 @@
+help: Reboot the system without confirmation
+run: sudo /opt/vyatta/bin/sudo-users/vyatta-reboot.pl --action reboot --now