mirror of
https://github.com/AuxXxilium/arc-addons.git
synced 2024-11-23 21:50:52 +07:00
misc: remove syslog-ng for testing
Signed-off-by: AuxXxilium <info@auxxxilium.tech>
This commit is contained in:
parent
b0706b4879
commit
1ec21082db
@ -209,12 +209,12 @@ elif [ "${1}" = "late" ]; then
|
||||
fi
|
||||
|
||||
# syslog-ng
|
||||
if [ -f /tmpRoot/etc.defaults/syslog-ng/patterndb.d/scemd.conf ]; then
|
||||
cp -vfp /tmpRoot/etc.defaults/syslog-ng/patterndb.d/scemd.conf /tmpRoot/etc.defaults/syslog-ng/patterndb.d/scemd.conf.bak
|
||||
sed -i 's/destination(d_scemd)/flags(final)/g' /tmpRoot/etc.defaults/syslog-ng/patterndb.d/scemd.conf
|
||||
else
|
||||
echo "scemd.conf does not exist."
|
||||
fi
|
||||
#if [ -f /tmpRoot/etc.defaults/syslog-ng/patterndb.d/scemd.conf ]; then
|
||||
# cp -vfp /tmpRoot/etc.defaults/syslog-ng/patterndb.d/scemd.conf /tmpRoot/etc.defaults/syslog-ng/patterndb.d/scemd.conf.bak
|
||||
# sed -i 's/destination(d_scemd)/flags(final)/g' /tmpRoot/etc.defaults/syslog-ng/patterndb.d/scemd.conf
|
||||
#else
|
||||
# echo "scemd.conf does not exist."
|
||||
#fi
|
||||
|
||||
if [ -f /tmpRoot/etc.defaults/syslog-ng/patterndb.d/synosystemd.conf ]; then
|
||||
cp -vfp /tmpRoot/etc.defaults/syslog-ng/patterndb.d/synosystemd.conf /tmpRoot/etc.defaults/syslog-ng/patterndb.d/synosystemd.conf.bak
|
||||
|
Loading…
Reference in New Issue
Block a user