| OLD | NEW |
| 1 # Copyright (c) 2010 The Chromium OS Authors. All rights reserved. | 1 # Copyright (c) 2010 The Chromium OS Authors. All rights reserved. |
| 2 # Use of this source code is governed by a BSD-style license that can be | 2 # Use of this source code is governed by a BSD-style license that can be |
| 3 # found in the LICENSE file. | 3 # found in the LICENSE file. |
| 4 | 4 |
| 5 description "Start the udev daemon" | 5 description "Start the udev daemon" |
| 6 author "chromium-os-dev@chromium.org" | 6 author "chromium-os-dev@chromium.org" |
| 7 | 7 |
| 8 # Start udev early so flimflam can be notified of "wlan0". The | 8 # Start udev early so flimflam can be notified of "wlan0". The |
| 9 # general "trigger" for remaining devices is now in the udev-addon | 9 # general "trigger" for remaining devices is now in the udev-addon |
| 10 # job | 10 # job |
| 11 start on runlevel 2 | 11 start on starting boot-services |
| 12 | 12 |
| 13 respawn | 13 respawn |
| 14 expect fork | 14 expect fork |
| 15 | 15 |
| 16 pre-start script | 16 pre-start script |
| 17 # udev uses inotify to monitor the dynamic rules directory | 17 # udev uses inotify to monitor the dynamic rules directory |
| 18 # /dev/.udev/rules.d; however, this directory must exist before | 18 # /dev/.udev/rules.d; however, this directory must exist before |
| 19 # udevd runs, or the inotify won't find the directory even if it | 19 # udevd runs, or the inotify won't find the directory even if it |
| 20 # is created later. This is an issue with udev-146. Udev | 20 # is created later. This is an issue with udev-146. Udev |
| 21 # versions 156 and later do not exhibit this problem, and for | 21 # versions 156 and later do not exhibit this problem, and for |
| (...skipping 17 matching lines...) Expand all Loading... |
| 39 # one. | 39 # one. |
| 40 mv $drvfile $drvfile.bad | 40 mv $drvfile $drvfile.bad |
| 41 MESSAGE="udev pre-start: modprobe $drv failed." | 41 MESSAGE="udev pre-start: modprobe $drv failed." |
| 42 MESSAGE="$MESSAGE Renamed $drvfile with .bad suffix." | 42 MESSAGE="$MESSAGE Renamed $drvfile with .bad suffix." |
| 43 logger "$MESSAGE" | 43 logger "$MESSAGE" |
| 44 fi | 44 fi |
| 45 fi | 45 fi |
| 46 end script | 46 end script |
| 47 | 47 |
| 48 exec udevd --daemon | 48 exec udevd --daemon |
| OLD | NEW |