tree: 2ca26c2355890e8f68b9f219041b13e976c140ba [path history] [tgz]
  3. pre-start/

CrOS Factory Init: Main

This folder supports running programs when the factory service on a ChromiumOS factory test image starts. To add your own program, create a in main.d folder. All these services will run in parallel. If you need a service to start (and finish) before all services here, put it in the main.d/pre-start folder.

If the has +x file mode set, it's default enabled; otherwise it is default disabled (and will be executed by sh).

To explicitly enable or disable a service, touch and create a tag file enable-NAME or disable-NAME.

For example:


By default the system will only invoke

To disable running goofy, create a disable-goofy file. To enable running whale_servo, create a enable-whale_servo file.