Skip to content
Snippets Groups Projects
Commit 3dcf654f authored by Konstantin Pavlov's avatar Konstantin Pavlov
Browse files

Fixed typo introduced in 172571e5

parent 60861228
Branches
Tags
No related merge requests found
...@@ -18,7 +18,7 @@ if [ ! -f "/$DEFAULT_CONF_FILE" ]; then ...@@ -18,7 +18,7 @@ if [ ! -f "/$DEFAULT_CONF_FILE" ]; then
fi fi
# check if the file can be modified, e.g. not on a r/o filesystem # check if the file can be modified, e.g. not on a r/o filesystem
touch /$DEFAULT_CONF_FILE 2>/dev/null || { echo "$ME: error: can not modify /$DEFAULT_CONF_FILE (read-only file system?)" >1&2; exit 0; } touch /$DEFAULT_CONF_FILE 2>/dev/null || { echo "$ME: error: can not modify /$DEFAULT_CONF_FILE (read-only file system?)" 1>&2; exit 0; }
# check if the file is already modified, e.g. on a container restart # check if the file is already modified, e.g. on a container restart
grep -q "listen \[::]\:80;" /$DEFAULT_CONF_FILE && { echo >&3 "$ME: error: IPv6 listen already enabled"; exit 0; } grep -q "listen \[::]\:80;" /$DEFAULT_CONF_FILE && { echo >&3 "$ME: error: IPv6 listen already enabled"; exit 0; }
......
...@@ -18,7 +18,7 @@ if [ ! -f "/$DEFAULT_CONF_FILE" ]; then ...@@ -18,7 +18,7 @@ if [ ! -f "/$DEFAULT_CONF_FILE" ]; then
fi fi
# check if the file can be modified, e.g. not on a r/o filesystem # check if the file can be modified, e.g. not on a r/o filesystem
touch /$DEFAULT_CONF_FILE 2>/dev/null || { echo "$ME: error: can not modify /$DEFAULT_CONF_FILE (read-only file system?)" >1&2; exit 0; } touch /$DEFAULT_CONF_FILE 2>/dev/null || { echo "$ME: error: can not modify /$DEFAULT_CONF_FILE (read-only file system?)" 1>&2; exit 0; }
# check if the file is already modified, e.g. on a container restart # check if the file is already modified, e.g. on a container restart
grep -q "listen \[::]\:80;" /$DEFAULT_CONF_FILE && { echo >&3 "$ME: error: IPv6 listen already enabled"; exit 0; } grep -q "listen \[::]\:80;" /$DEFAULT_CONF_FILE && { echo >&3 "$ME: error: IPv6 listen already enabled"; exit 0; }
......
...@@ -18,7 +18,7 @@ if [ ! -f "/$DEFAULT_CONF_FILE" ]; then ...@@ -18,7 +18,7 @@ if [ ! -f "/$DEFAULT_CONF_FILE" ]; then
fi fi
# check if the file can be modified, e.g. not on a r/o filesystem # check if the file can be modified, e.g. not on a r/o filesystem
touch /$DEFAULT_CONF_FILE 2>/dev/null || { echo "$ME: error: can not modify /$DEFAULT_CONF_FILE (read-only file system?)" >1&2; exit 0; } touch /$DEFAULT_CONF_FILE 2>/dev/null || { echo "$ME: error: can not modify /$DEFAULT_CONF_FILE (read-only file system?)" 1>&2; exit 0; }
# check if the file is already modified, e.g. on a container restart # check if the file is already modified, e.g. on a container restart
grep -q "listen \[::]\:80;" /$DEFAULT_CONF_FILE && { echo >&3 "$ME: error: IPv6 listen already enabled"; exit 0; } grep -q "listen \[::]\:80;" /$DEFAULT_CONF_FILE && { echo >&3 "$ME: error: IPv6 listen already enabled"; exit 0; }
......
...@@ -18,7 +18,7 @@ if [ ! -f "/$DEFAULT_CONF_FILE" ]; then ...@@ -18,7 +18,7 @@ if [ ! -f "/$DEFAULT_CONF_FILE" ]; then
fi fi
# check if the file can be modified, e.g. not on a r/o filesystem # check if the file can be modified, e.g. not on a r/o filesystem
touch /$DEFAULT_CONF_FILE 2>/dev/null || { echo "$ME: error: can not modify /$DEFAULT_CONF_FILE (read-only file system?)" >1&2; exit 0; } touch /$DEFAULT_CONF_FILE 2>/dev/null || { echo "$ME: error: can not modify /$DEFAULT_CONF_FILE (read-only file system?)" 1>&2; exit 0; }
# check if the file is already modified, e.g. on a container restart # check if the file is already modified, e.g. on a container restart
grep -q "listen \[::]\:80;" /$DEFAULT_CONF_FILE && { echo >&3 "$ME: error: IPv6 listen already enabled"; exit 0; } grep -q "listen \[::]\:80;" /$DEFAULT_CONF_FILE && { echo >&3 "$ME: error: IPv6 listen already enabled"; exit 0; }
......
...@@ -18,7 +18,7 @@ if [ ! -f "/$DEFAULT_CONF_FILE" ]; then ...@@ -18,7 +18,7 @@ if [ ! -f "/$DEFAULT_CONF_FILE" ]; then
fi fi
# check if the file can be modified, e.g. not on a r/o filesystem # check if the file can be modified, e.g. not on a r/o filesystem
touch /$DEFAULT_CONF_FILE 2>/dev/null || { echo "$ME: error: can not modify /$DEFAULT_CONF_FILE (read-only file system?)" >1&2; exit 0; } touch /$DEFAULT_CONF_FILE 2>/dev/null || { echo "$ME: error: can not modify /$DEFAULT_CONF_FILE (read-only file system?)" 1>&2; exit 0; }
# check if the file is already modified, e.g. on a container restart # check if the file is already modified, e.g. on a container restart
grep -q "listen \[::]\:80;" /$DEFAULT_CONF_FILE && { echo >&3 "$ME: error: IPv6 listen already enabled"; exit 0; } grep -q "listen \[::]\:80;" /$DEFAULT_CONF_FILE && { echo >&3 "$ME: error: IPv6 listen already enabled"; exit 0; }
......
...@@ -18,7 +18,7 @@ if [ ! -f "/$DEFAULT_CONF_FILE" ]; then ...@@ -18,7 +18,7 @@ if [ ! -f "/$DEFAULT_CONF_FILE" ]; then
fi fi
# check if the file can be modified, e.g. not on a r/o filesystem # check if the file can be modified, e.g. not on a r/o filesystem
touch /$DEFAULT_CONF_FILE 2>/dev/null || { echo "$ME: error: can not modify /$DEFAULT_CONF_FILE (read-only file system?)" >1&2; exit 0; } touch /$DEFAULT_CONF_FILE 2>/dev/null || { echo "$ME: error: can not modify /$DEFAULT_CONF_FILE (read-only file system?)" 1>&2; exit 0; }
# check if the file is already modified, e.g. on a container restart # check if the file is already modified, e.g. on a container restart
grep -q "listen \[::]\:80;" /$DEFAULT_CONF_FILE && { echo >&3 "$ME: error: IPv6 listen already enabled"; exit 0; } grep -q "listen \[::]\:80;" /$DEFAULT_CONF_FILE && { echo >&3 "$ME: error: IPv6 listen already enabled"; exit 0; }
......
...@@ -18,7 +18,7 @@ if [ ! -f "/$DEFAULT_CONF_FILE" ]; then ...@@ -18,7 +18,7 @@ if [ ! -f "/$DEFAULT_CONF_FILE" ]; then
fi fi
# check if the file can be modified, e.g. not on a r/o filesystem # check if the file can be modified, e.g. not on a r/o filesystem
touch /$DEFAULT_CONF_FILE 2>/dev/null || { echo "$ME: error: can not modify /$DEFAULT_CONF_FILE (read-only file system?)" >1&2; exit 0; } touch /$DEFAULT_CONF_FILE 2>/dev/null || { echo "$ME: error: can not modify /$DEFAULT_CONF_FILE (read-only file system?)" 1>&2; exit 0; }
# check if the file is already modified, e.g. on a container restart # check if the file is already modified, e.g. on a container restart
grep -q "listen \[::]\:80;" /$DEFAULT_CONF_FILE && { echo >&3 "$ME: error: IPv6 listen already enabled"; exit 0; } grep -q "listen \[::]\:80;" /$DEFAULT_CONF_FILE && { echo >&3 "$ME: error: IPv6 listen already enabled"; exit 0; }
......
...@@ -18,7 +18,7 @@ if [ ! -f "/$DEFAULT_CONF_FILE" ]; then ...@@ -18,7 +18,7 @@ if [ ! -f "/$DEFAULT_CONF_FILE" ]; then
fi fi
# check if the file can be modified, e.g. not on a r/o filesystem # check if the file can be modified, e.g. not on a r/o filesystem
touch /$DEFAULT_CONF_FILE 2>/dev/null || { echo "$ME: error: can not modify /$DEFAULT_CONF_FILE (read-only file system?)" >1&2; exit 0; } touch /$DEFAULT_CONF_FILE 2>/dev/null || { echo "$ME: error: can not modify /$DEFAULT_CONF_FILE (read-only file system?)" 1>&2; exit 0; }
# check if the file is already modified, e.g. on a container restart # check if the file is already modified, e.g. on a container restart
grep -q "listen \[::]\:80;" /$DEFAULT_CONF_FILE && { echo >&3 "$ME: error: IPv6 listen already enabled"; exit 0; } grep -q "listen \[::]\:80;" /$DEFAULT_CONF_FILE && { echo >&3 "$ME: error: IPv6 listen already enabled"; exit 0; }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment