mirror of
https://gitlab.com/shorewall/code.git
synced 2024-12-25 15:48:56 +01:00
Be sure that startup log is secured 0600
This commit is contained in:
parent
f2f91ce7dd
commit
5a525134ea
@ -27,6 +27,8 @@ fi
|
|||||||
initialize
|
initialize
|
||||||
|
|
||||||
if [ -n "$STARTUP_LOG" ]; then
|
if [ -n "$STARTUP_LOG" ]; then
|
||||||
|
touch $STARTUP_LOG
|
||||||
|
chmod 0600 $STARTUP_LOG
|
||||||
if [ ${SHOREWALL_INIT_SCRIPT:-0} -eq 1 ]; then
|
if [ ${SHOREWALL_INIT_SCRIPT:-0} -eq 1 ]; then
|
||||||
#
|
#
|
||||||
# We're being run by a startup script that isn't redirecting STDOUT
|
# We're being run by a startup script that isn't redirecting STDOUT
|
||||||
|
@ -27,6 +27,8 @@ fi
|
|||||||
initialize
|
initialize
|
||||||
|
|
||||||
if [ -n "$STARTUP_LOG" ]; then
|
if [ -n "$STARTUP_LOG" ]; then
|
||||||
|
touch $STARTUP_LOG
|
||||||
|
chmod 0600 $STARTUP_LOG
|
||||||
if [ ${SHOREWALL_INIT_SCRIPT:-0} -eq 1 ]; then
|
if [ ${SHOREWALL_INIT_SCRIPT:-0} -eq 1 ]; then
|
||||||
#
|
#
|
||||||
# We're being run by a startup script that isn't redirecting STDOUT
|
# We're being run by a startup script that isn't redirecting STDOUT
|
||||||
|
Loading…
Reference in New Issue
Block a user