diff options
author | Stephen Hemminger <stephen.hemminger@vyatta.com> | 2009-02-26 12:52:43 -0800 |
---|---|---|
committer | Stephen Hemminger <stephen.hemminger@vyatta.com> | 2009-02-26 12:52:43 -0800 |
commit | b3b95f5565d84cebe5fca613a81e2cf6f93c658e (patch) | |
tree | 1427c8b0dbc0cb2650043cb10b0d8f25b3daa17e /templates/shutdown | |
parent | 43ccc1bb5e446ec8c94cabe21fa7e8d68ffe07e3 (diff) | |
download | vyatta-op-b3b95f5565d84cebe5fca613a81e2cf6f93c658e.tar.gz vyatta-op-b3b95f5565d84cebe5fca613a81e2cf6f93c658e.zip |
Add default option to yesno for shutdown
Make it work like reboot
Diffstat (limited to 'templates/shutdown')
-rw-r--r-- | templates/shutdown/node.def | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/templates/shutdown/node.def b/templates/shutdown/node.def index 388dd33..4185f40 100644 --- a/templates/shutdown/node.def +++ b/templates/shutdown/node.def @@ -1,3 +1,3 @@ help: Shutdown the system -run: ${vyatta_bindir}/yesno "Proceed with shutdown? [confirm] " \ +run: ${vyatta_bindir}/yesno -y "Proceed with shutdown? [confirm]" \ && sudo /sbin/shutdown -h now |