mirror of
https://github.com/gtxaspec/wz_mini_hacks.git
synced 2025-08-09 20:14:04 +00:00
fix syslog init blocking
This commit is contained in:
@@ -3,7 +3,9 @@
|
||||
source /opt/wz_mini/etc/rc.common
|
||||
source /opt/wz_mini/wz_mini.conf
|
||||
|
||||
wait_for_icamera
|
||||
syslog_save() {
|
||||
|
||||
wait_for_icamera &
|
||||
|
||||
if [[ "$ENABLE_SYSLOG_SAVE" == "true" ]]; then
|
||||
echo "Store syslog logs"
|
||||
@@ -20,3 +22,7 @@ fi
|
||||
touch -- "$SYSLOG_LOG".log
|
||||
logread -F > $SYSLOG_LOG.log &
|
||||
fi
|
||||
|
||||
}
|
||||
|
||||
syslog_save &
|
||||
|
@@ -1 +1 @@
|
||||
Wed Aug 3 02:30:25 PM PDT 2022
|
||||
Wed Aug 3 02:37:59 PM PDT 2022
|
||||
|
Reference in New Issue
Block a user