diff options
Diffstat (limited to 'templates')
-rw-r--r-- | templates/shutdown/node.def | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/templates/shutdown/node.def b/templates/shutdown/node.def index be56a0c..388dd33 100644 --- a/templates/shutdown/node.def +++ b/templates/shutdown/node.def @@ -1,2 +1,3 @@ help: Shutdown the system -run: sudo /sbin/shutdown -h now +run: ${vyatta_bindir}/yesno "Proceed with shutdown? [confirm] " \ + && sudo /sbin/shutdown -h now |