blob: cfb99a24a903d723613069a0ff9a7ad82250daf6 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
#
# Setup Logging
#
# Load utility functions
. ./functions.sh
# Disable rsyslog
if [ "$ENABLE_RSYSLOG" = false ]; then
sed -i "s|[#]*ForwardToSyslog=yes|ForwardToSyslog=no|g" $R/etc/systemd/journald.conf
chroot_exec systemctl disable rsyslog
chroot_exec apt-get purge -q -y --force-yes rsyslog
fi
|