This file is indexed.

/etc/init/tethering.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
start on android-container persist.sys.usb.config=*

task

script
 VAL=$(env | grep  persist.sys.usb.config=)
 case ${VAL##*=} in
   rndis*)
     /usr/bin/tethering enable
     ;;
   *)
     /usr/bin/tethering disable
    ;;
 esac
end script