mirror of
https://github.com/firehol/firehol.git
synced 2024-06-30 19:02:21 +00:00
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:
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.
|
||||||
|
Loading…
Reference in New Issue
Block a user