Merge "first-boot.d scripts log to a file:"

This commit is contained in:
Jenkins 2013-02-18 22:01:36 +00:00 committed by Gerrit Code Review
commit 9978720051

View file

@ -143,7 +143,10 @@ function prepare_first_boot () {
set -e
set -o xtrace
run-parts /etc/first-boot.d
touch /var/log/first-boot.d.log
chmod 0600 /var/log/first-boot.d.log
run-parts /etc/first-boot.d >> /var/log/first-boot.d.log 2>&1
rm -fr /etc/first-boot.d
mv /etc/rc.local.REAL /etc/rc.local
exit 0