mirror of
https://github.com/Ysurac/openmptcprouter.git
synced 2025-02-12 11:21:55 +00:00
Fix log display in Status->System log
This commit is contained in:
parent
f474755d00
commit
f08ea11a38
2 changed files with 14 additions and 0 deletions
3
build.sh
3
build.sh
|
@ -923,6 +923,9 @@ elif [ "$OMR_KERNEL" = "6.6" ] || [ "$OMR_KERNEL" = "6.10" ]; then
|
|||
#if ! patch -Rf -N -p1 -s --dry-run < ../../patches/luci-syslog-6.6.patch; then
|
||||
# patch -N -p1 -s < ../../patches/luci-syslog-6.6.patch
|
||||
#fi
|
||||
if ! patch -Rf -N -p1 -s --dry-run < ../../patches/luci-syslog-6.10.patch; then
|
||||
patch -N -p1 -s < ../../patches/luci-syslog-6.10.patch
|
||||
fi
|
||||
cd -
|
||||
else
|
||||
cd feeds/${OMR_KERNEL}
|
||||
|
|
11
patches/luci-syslog-6.10.patch
Normal file
11
patches/luci-syslog-6.10.patch
Normal file
|
@ -0,0 +1,11 @@
|
|||
--- a/luci/modules/luci-mod-status/root/usr/libexec/syslog-wrapper 2024-08-19 10:41:15.218499730 +0200
|
||||
+++ b/luci/modules/luci-mod-status/root/usr/libexec/syslog-wrapper 2024-08-19 10:41:21.654412260 +0200
|
||||
@@ -12,7 +12,7 @@
|
||||
fi
|
||||
|
||||
if [ -f /sbin/logread ]; then
|
||||
- /sbin/logread -e ^
|
||||
+ /sbin/logread ^
|
||||
else
|
||||
/usr/sbin/logread -e ^
|
||||
fi
|
Loading…
Reference in a new issue