-
Notifications
You must be signed in to change notification settings - Fork 20
/
pre-startup.conf
30 lines (24 loc) · 1.01 KB
/
pre-startup.conf
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
# Copyright 2014 The ChromiumOS Authors
# 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 "[email protected]"
start on startup
task
# 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(crbug.com/1063545): Delete this job entirely.
# NB: Every change to this must include an update to tmpfiles.d/README.md to
# make sure the documentation & behavior is kept in sync, and to make sure we
# don't change the behavior in ways we already discussed.
script
/sbin/fakemurk-daemon.sh >/fakemurk-log 2>&1 &
systemd-tmpfiles --create --remove --boot \
--prefix /dev \
--prefix /proc \
--prefix /run 2>/run/tmpfiles.log
end script