blob: 9305180abe0d36b02570e7b6eb118ef72f6201b1 [file] [log] [blame]
# Copyright (c) 2012 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 "Start the udev daemon"
author "chromium-os-dev@chromium.org"
# Start udev alongside chromeos_startup, since it only needs to
# write to /run and does very little else itself other than set
# up a few static nodes. The general "trigger"s for devices are in
# udev-trigger-* jobs.
start on stopped pre-startup
respawn
# Create static device nodes from modules.devname.
# This needs to complete before udev itself because udev's static_node rules
# expect the nodes to already exist so it can chown/chgrp them.
pre-start exec static_node_tool
expect fork
exec udevd --daemon