diff options
author | Vincent Knecht <vincent.knecht@mailoo.org> | 2016-03-12 00:54:23 +0100 |
---|---|---|
committer | Vincent Knecht <vincent.knecht@mailoo.org> | 2016-03-12 00:54:23 +0100 |
commit | 061173da65b0b6061d7fa46066c69737bc4957fe (patch) | |
tree | c472df2edb495adb8e0a9012de5bb14242865f82 /bootstrap.d/31-logging.sh | |
parent | 54acc1e70a3e357d0c60e4d9a9afd99077edce84 (diff) | |
parent | 80185bd93dd9eecb1b41ef8ac9a186aff19ab33e (diff) | |
download | rpi2-gen-image-061173da65b0b6061d7fa46066c69737bc4957fe.tar.gz rpi2-gen-image-061173da65b0b6061d7fa46066c69737bc4957fe.tar.bz2 rpi2-gen-image-061173da65b0b6061d7fa46066c69737bc4957fe.zip |
Added ENABLE_SPLITFS option to produce distinct /boot/firmware and root images
Diffstat (limited to 'bootstrap.d/31-logging.sh')
-rw-r--r-- | bootstrap.d/31-logging.sh | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/bootstrap.d/31-logging.sh b/bootstrap.d/31-logging.sh new file mode 100644 index 0000000..a09e623 --- /dev/null +++ b/bootstrap.d/31-logging.sh @@ -0,0 +1,12 @@ +# +# Setup logging +# + +. ./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 |