blob: ef24b161e2179fdcd68b604d3fe4770450f14830 [file] [log] [blame]
# Copyright 2014 The Chromium OS Authors. All rights reserved.
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
description "System startup script"
author ""
start on startup
# Remember: This runs super early in the boot. Logging is not available (so you
# can't use `logger`). Failures here basically should not happen. If they do,
# the system will fail to boot. Oops!
# Disable OOM killer as we must never fail.
oom score never
# The kernel and /sbin/init mount /proc, /sys, /dev, /tmp, and /run for us now.
# TODO( Delete this job entirely.
systemd-tmpfiles --create --remove --boot \
--prefix /dev \
--prefix /proc \
--prefix /run 2>/run/tmpfiles.log
end script