summaryrefslogtreecommitdiff
path: root/templates/shutdown/node.def
diff options
context:
space:
mode:
Diffstat (limited to 'templates/shutdown/node.def')
-rw-r--r--templates/shutdown/node.def9
1 files changed, 0 insertions, 9 deletions
diff --git a/templates/shutdown/node.def b/templates/shutdown/node.def
deleted file mode 100644
index 81cbc5f..0000000
--- a/templates/shutdown/node.def
+++ /dev/null
@@ -1,9 +0,0 @@
-help: Shutdown the system
-run: if [ "$VYATTA_PROCESS_CLIENT" == "gui2_rest" ]
- then
- sudo /sbin/shutdown -h now
- else
- ${vyatta_bindir}/yesno -y "Proceed with shutdown? [confirm]" \
- && sudo /sbin/shutdown -h now
- fi
-