2013-05-16 14:43:32 +00:00
|
|
|
#!/bin/bash
|
2014-04-03 02:24:15 +00:00
|
|
|
set -eu
|
|
|
|
set -o pipefail
|
2013-05-16 14:43:32 +00:00
|
|
|
set -o xtrace
|
|
|
|
|
|
|
|
touch /var/log/first-boot.d.log
|
|
|
|
chmod 0600 /var/log/first-boot.d.log
|
|
|
|
|
2013-06-20 06:47:58 +00:00
|
|
|
/usr/local/bin/dib-run-parts /etc/first-boot.d >> /var/log/first-boot.d.log 2>&1
|
2013-05-16 14:43:32 +00:00
|
|
|
rm -fr /etc/first-boot.d
|
|
|
|
# delete itself
|
|
|
|
rm $0
|