/etc/init/apport-config.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 13 14 15 16 17 | description "Configure autoreport of crashes for all channels other than stable"
start on runlevel [2345]
task
script
if [ -f "/var/lib/apport/.apport-config-has-run" ]; then
stop; exit 0
fi
channel="$(cat /etc/system-image/channel.ini | grep channel | awk -F '/' '{print $2}')"
if [ "$channel" = "stable" ]; then
rm /var/lib/apport/autoreport || true
fi
touch /var/lib/apport/.apport-config-has-run
stop; exit 0
end script
|