##// END OF EJS Templates
Don't create symlink if exists /etc/resolv.conf...
Don't create symlink if exists /etc/resolv.conf FIX: if /etc/resolv.conf created other dhcp client then rc.firstboot finish with exit code and don't removed itself from rc.local.

Fichier de la dernière révision:

r94:2ce085c56493
r100:925b5ca1ddd2
Show More
31-logging.sh
13 lines | 313 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 --force-yes purge rsyslog
fi