From b3b95f5565d84cebe5fca613a81e2cf6f93c658e Mon Sep 17 00:00:00 2001 From: Stephen Hemminger Date: Thu, 26 Feb 2009 12:52:43 -0800 Subject: Add default option to yesno for shutdown Make it work like reboot --- templates/shutdown/node.def | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'templates') 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 -- cgit v1.2.3