/var/lib/lxc/android/pre-start.d/20-no-default-prop-adb is in lxc-android-config 0.230+16.04.20160328-0ubuntu1.
This file is owned by root:root, with mode 0o755.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 | #! /bin/sh
# Avoid changing the the property when running on the emulator
if ! grep -q "qemu=1" /proc/cmdline; then
sed -i '/^persist.sys.usb.config=.*/d' $LXC_ROOTFS_PATH/default.prop || true
fi
|