/etc/init/custom-dconf-update.conf is in ubuntu-touch-customization-hooks 0.6+14.04.20140407-0ubuntu1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 | description "Rebuild the /custom dconf db"
author "Matthew Fischer <matthew.fischer@canonical.com>"
start on (starting ubuntu-touch-session or local-filesystems)
task
script
[ -d /custom ] || exit 0
BUILD_TIME=`cat /custom/build_id || true`
: ${BUILD_TIME:="9999999999"}
DCONFDB_MTIME=`stat -c %X /custom/etc/dconf/db/custom || true`
: ${DCONFDB_MTIME:="0"}
if [ ${BUILD_TIME} -gt ${DCONFDB_MTIME} ]; then
cp -a /custom/etc/dconf_source/* /custom/etc/dconf
export DCONF_PROFILE=/custom/etc/dconf_profile
export DCONF_DIR=/custom/etc/dconf
echo "updating custom dconf"
dconf update
else
echo "skipping dconf update"
fi
end script
# vim:syntax=upstart
|