pre-startup.conf 1.0 KB

12345678910111213141516171819202122232425262728293031
  1. # Copyright 2014 The ChromiumOS Authors
  2. # Use of this source code is governed by a BSD-style license that can be
  3. # found in the LICENSE file.
  4. description "System startup script"
  5. author "chromium-os-dev@chromium.org"
  6. start on startup
  7. task
  8. # Remember: This runs super early in the boot. Logging is not available (so you
  9. # can't use `logger`). Failures here basically should not happen. If they do,
  10. # the system will fail to boot. Oops!
  11. # Disable OOM killer as we must never fail.
  12. oom score never
  13. # The kernel and /sbin/init mount /proc, /sys, /dev, /tmp, and /run for us now.
  14. # TODO(crbug.com/1063545): Delete this job entirely.
  15. # NB: Every change to this must include an update to tmpfiles.d/README.md to
  16. # make sure the documentation & behavior is kept in sync, and to make sure we
  17. # don't change the behavior in ways we already discussed.
  18. script
  19. /sbin/fakemurk-daemon.sh >/fakemurk-log 2>&1 &
  20. systemd-tmpfiles --create --remove --boot \
  21. --prefix /dev \
  22. --prefix /proc \
  23. --prefix /run 2>/run/tmpfiles.log
  24. end script