diff options
author | Stephen Hemminger <stephen.hemminger@vyatta.com> | 2009-03-08 13:47:37 -0700 |
---|---|---|
committer | Stephen Hemminger <stephen.hemminger@vyatta.com> | 2009-03-08 13:47:37 -0700 |
commit | b70ab2d924b28b0b0dff8a652a69a2037ced549e (patch) | |
tree | 802a1b8489a781d94944aecbbf84aca9e0d431b0 /scripts | |
parent | 28f5a2693e7e5b9aeff0527ce785215293696513 (diff) | |
download | vyatta-op-b70ab2d924b28b0b0dff8a652a69a2037ced549e.tar.gz vyatta-op-b70ab2d924b28b0b0dff8a652a69a2037ced549e.zip |
Remove [y] from prompt
Make shutdown appear like reboot.
Diffstat (limited to 'scripts')
-rwxr-xr-x | scripts/yesno | 4 |
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 |