summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStephen Hemminger <stephen.hemminger@vyatta.com>2009-03-08 13:47:37 -0700
committerStephen Hemminger <stephen.hemminger@vyatta.com>2009-03-08 13:47:37 -0700
commitb70ab2d924b28b0b0dff8a652a69a2037ced549e (patch)
tree802a1b8489a781d94944aecbbf84aca9e0d431b0
parent28f5a2693e7e5b9aeff0527ce785215293696513 (diff)
downloadvyatta-op-b70ab2d924b28b0b0dff8a652a69a2037ced549e.tar.gz
vyatta-op-b70ab2d924b28b0b0dff8a652a69a2037ced549e.zip
Remove [y] from prompt
Make shutdown appear like reboot.
-rwxr-xr-xscripts/yesno4
1 files changed, 0 insertions, 4 deletions
diff --git a/scripts/yesno b/scripts/yesno
index cbed0e0..9955286 100755
--- a/scripts/yesno
+++ b/scripts/yesno
@@ -11,10 +11,6 @@ then prompt="yes or no: "
else prompt="$*"
fi
-if [ ! -z $default ]; then
- prompt+="[y]"
-fi
-
while true
do
read -p "$prompt" || exit 1