Merge "first-boot.d scripts log to a file:"
This commit is contained in:
commit
9978720051
@ -143,7 +143,10 @@ function prepare_first_boot () {
|
|||||||
set -e
|
set -e
|
||||||
set -o xtrace
|
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
|
rm -fr /etc/first-boot.d
|
||||||
mv /etc/rc.local.REAL /etc/rc.local
|
mv /etc/rc.local.REAL /etc/rc.local
|
||||||
exit 0
|
exit 0
|
||||||
|
Loading…
Reference in New Issue
Block a user