/etc/init/ttyGS0.conf is in ubuntu-defaults-nexus7 0.54.
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 | # ttyGS0 - getty for g_serial gadget
#
# This service maintains a getty on ttyGS0 from the point the system is
# started until it is shut down again.
start on stopped rc RUNLEVEL=[2345] and (
not-container or
container CONTAINER=lxc or
container CONTAINER=lxc-libvirt)
stop on runlevel [!2345]
respawn
exec /sbin/getty -J 115200 ttyGS0
|