From fb100420fd6d54d5e86bf090f1123636cd2dc4e6 Mon Sep 17 00:00:00 2001 From: John Southworth Date: Fri, 14 Oct 2011 11:45:17 -0500 Subject: Bugfix 7557: Move shutdown to poweroff, change confirmation from default in the affirmative to defualt in the negative. (cherry picked from commit 54c32901389933b1830404f173b338f885add043) --- scripts/yesno | 3 +++ 1 file changed, 3 insertions(+) (limited to 'scripts') diff --git a/scripts/yesno b/scripts/yesno index 3e10e09..260a23c 100755 --- a/scripts/yesno +++ b/scripts/yesno @@ -4,8 +4,11 @@ default= if [ "$1" = "-y" ] then default='y'; shift +elif [[ "$1" = "-n" ]]; then + default='n'; shift fi + if [ $# -eq 0 ] then prompt="yes or no: " else prompt="$*" -- cgit v1.2.3