/usr/share/upstart/sessions/custom-env.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 | description "Set environment variables for /custom support"
start on starting dbus
task
script
[ -d /custom ] || exit 0
if [ -d /custom/xdg/data ]; then
XDG_DATA_DIRS="$(initctl get-env --global XDG_DATA_DIRS 2>/dev/null || true)"
initctl set-env --global XDG_DATA_DIRS="/custom/xdg/data:${XDG_DATA_DIRS:-/usr/share}"
fi
if [ -d /custom/etc/dconf ]; then
initctl set-env --global DCONF_PROFILE=/custom/etc/dconf_profile
initctl set-env --global DCONF_DIR=/custom/etc/dconf
fi
if [ -d /custom/usr/share/themes ]; then
initctl set-env --global UBUNTU_UI_TOOLKIT_THEMES_PATH=/custom/usr/share/themes
fi
end script
# vim:syntax=upstart
|