##// END OF EJS Templates
Merge branch 'rpifegen' of https://github.com/g-vidal/rpi23-gen-image into rpifegen
Merge branch 'rpifegen' of https://github.com/g-vidal/rpi23-gen-image into rpifegen

Fichier de la dernière révision:

r142:14de70396904
r183:6908e306ecc7 Fusion
Show More
31-logging.sh
13 lines | 301 B | application/x-sh | BashLexer
#
# Setup Logging
#
# Load utility functions
. ./functions.sh
# Disable rsyslog
if [ "$ENABLE_RSYSLOG" = false ] ; then
sed -i "s|[#]*ForwardToSyslog=yes|ForwardToSyslog=no|g" "${ETC_DIR}/systemd/journald.conf"
chroot_exec systemctl disable rsyslog
chroot_exec apt-get -qq -y purge rsyslog
fi