/etc/init/boot-hooks/extrausers.conf is in lxc-android-config 0.230+16.04.20160328-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 | # This allows extrausers dir to be converted to a bindmount on upgrade
start on boot-hooks WHEN=new-version
pre-start script
if [ -z "$(ls /var/lib/extrausers/)" ] && \
[ -n "$(mount | grep ' /var/lib/extrausers ')" ]; then
umount /var/lib/extrausers
cp -a /var/lib/extrausers/* /userdata/system-data/var/lib/extrausers/
mount /var/lib/extrausers
fi
end script
|