##// END OF EJS Templates
Merge branch 'ref+fix' of https://github.com/burnbabyburn/rpi23-gen-image into ref+fix
Merge branch 'ref+fix' of https://github.com/burnbabyburn/rpi23-gen-image into ref+fix

Fichier de la dernière révision:

r321:8d65dbaf659e
r335:3387bc67049d Fusion
Show More
31-logging.sh
14 lines | 313 B | application/x-sh | BashLexer
#!/bin/bash
#
# 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