mirror of
https://gitlab.com/shorewall/code.git
synced 2025-02-12 15:59:18 +01:00
Use setup_logread() in lib.cli-std
Signed-off-by: Tom Eastep <teastep@shorewall.net>
This commit is contained in:
parent
b84f6aef55
commit
a3e467b8e3
@ -70,15 +70,7 @@ get_config() {
|
||||
# This block is avoided for compile for export and when the user isn't root
|
||||
#
|
||||
if [ "$3" = Yes ]; then
|
||||
if [ -n "$LOGFILE" ]; then
|
||||
if [ -n "$(syslog_circular_buffer)" ]; then
|
||||
g_logread="logread | tac"
|
||||
elif [ -r $LOGFILE ]; then
|
||||
g_logread="tac $LOGFILE"
|
||||
else
|
||||
fatal_error "LOGFILE ($LOGFILE) does not exist!"
|
||||
fi
|
||||
fi
|
||||
setup_logread
|
||||
fi
|
||||
|
||||
if [ $g_family -eq 4 ]; then
|
||||
|
Loading…
Reference in New Issue
Block a user