blob: 14c4f44dd4f3c03d02e74dbbb2e4155707271424 (
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
|