Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
When the syslog-ng installed it records all messages to /var/log/messages. This makes the default OpenWrt's ubox /sbin/logread useless and return nothing. The logread script was added to the syslog-ng as a shim. It's based on `tail /var/log/messages` and repeats basic options that the ubox logread have. The script is installed instead of the /sbin/logread and this is causes an error. Instead install it to /usr/libexec/logread.sh and specify as an alternative /sbin/logread. The ubox logread also needs to be made as alternative in /usr/libexec/logread-ubox. So we need to give it a separate name. The most simple and clear would be logread-shell or just logread.sh. Suggested-by: Andreas Gnau <[email protected]> Signed-off-by: Sergey Ponomarev <[email protected]>
- Loading branch information