Slight improvements to wizard output

- Do not output a blank line at the top
 - Do not emit a #! line - configurations cannot be used in this way
This commit is contained in:
Phil Whineray 2013-08-11 14:52:31 +01:00
parent 32cfc9a1a6
commit b1dd501162

@ -6432,9 +6432,9 @@ then
wizard_ask() { wizard_ask() {
local prompt="${1}"; shift local prompt="${1}"; shift
local def="${1}"; shift local def="${1}"; shift
echo echo >&2
while [ 1 = 1 ] while [ 1 = 1 ]
do do
printf >&2 "%s [%s] > " "${prompt}" "${def}" printf >&2 "%s [%s] > " "${prompt}" "${def}"
@ -6677,9 +6677,9 @@ EOF
echo >&2 echo >&2
${CAT_CMD} <<EOF ${CAT_CMD} <<EOF
#!${FIREHOL_FILE} #
# $Id$ # FireHOL configuration (autogenerated)
# #
# This config will have the same effect as NO PROTECTION! # This config will have the same effect as NO PROTECTION!
# Everything that found to be running, is allowed. # Everything that found to be running, is allowed.
# YOU SHOULD NEVER USE THIS CONFIG AS-IS. # YOU SHOULD NEVER USE THIS CONFIG AS-IS.