blob: 97659e51dbe88c5b8ef567788624e113d309f7cf [file] [log] [blame]
# Copyright 2021 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 "chromeos-core-services@google.com"
# Brings up `systemd-tmpfiles` to create D-Bus directories before starting
# boot-services and dbus upstart jobs.
# This file is a fork of pre-startup.conf in CrOS.
start on startup
task
# Disable OOM killer as we must never fail.
oom score never
script
systemd-tmpfiles --create --remove --boot \
--prefix /dev --prefix /run \
--prefix /home --prefix /var
end script