summaryrefslogtreecommitdiffstats
path: root/rules/udev.in
diff options
context:
space:
mode:
authorJuergen Beisert <j.beisert@pengutronix.de>2006-11-06 17:22:00 +0000
committerJuergen Beisert <j.beisert@pengutronix.de>2006-11-06 17:22:00 +0000
commit30112faf6c6d7eac71e7230d3e851e4b7e0f9dfc (patch)
tree4a9834186ec7f520aad94b4553eee9a03b37f44b /rules/udev.in
parent297ed509977fbef2a282a8e6c199c45b0e70ffa3 (diff)
downloadptxdist-30112faf6c6d7eac71e7230d3e851e4b7e0f9dfc.tar.gz
ptxdist-30112faf6c6d7eac71e7230d3e851e4b7e0f9dfc.tar.xz
* udev
- startscript selection and kind of startscript will be configured in the udev package now - link to startscript is still in rootfs menu, to control all startscripts in one place git-svn-id: https://svn.pengutronix.de/svn/ptxdist/trunks/ptxdist-trunk@6282 33e552b5-05e3-0310-8538-816dae2090ed
Diffstat (limited to 'rules/udev.in')
-rw-r--r--rules/udev.in70
1 files changed, 52 insertions, 18 deletions
diff --git a/rules/udev.in b/rules/udev.in
index 3d70cdba8..35793461b 100644
--- a/rules/udev.in
+++ b/rules/udev.in
@@ -6,38 +6,38 @@ config UDEV_UDEV
bool "udev"
depends on UDEV
help
- udev provides a dynamic device directory containing only
- the files for actually present devices. It creates or
- removes device node files in the /dev directory, or it
+ udev provides a dynamic device directory containing only
+ the files for actually present devices. It creates or
+ removes device node files in the /dev directory, or it
renames network interfaces.
- Usually udev runs as udevd(8) and receives uevents directly
+ Usually udev runs as udevd(8) and receives uevents directly
from the kernel if a device is added or removed form the system.
- If udev receives a device event, it matches its configured
- rules against the available device attributes provided in
- sysfs to identify the device. Rules that match, may provide
- additional device information or specify a device node name
- and multiple symlink names and instruct udev to run
+ If udev receives a device event, it matches its configured
+ rules against the available device attributes provided in
+ sysfs to identify the device. Rules that match, may provide
+ additional device information or specify a device node name
+ and multiple symlink names and instruct udev to run
additional programs as part of the device event handling.
config UDEV_UDEVD
bool "udevd"
depends on UDEV
help
- udevd listens to kernel uevents and passes the incoming
- events to udev. It ensures the right event order and
- takes care, that events for child devices are delayed
+ udevd listens to kernel uevents and passes the incoming
+ events to udev. It ensures the right event order and
+ takes care, that events for child devices are delayed
until the parent has finished the device handling.
config UDEV_INFO
bool "udevinfo"
depends on UDEV
help
- udevinfo queries the udev database for device
- information stored in the udev database. It
- can also query the properties of a device from
- its sysfs representation to help creating udev
+ udevinfo queries the udev database for device
+ information stored in the udev database. It
+ can also query the properties of a device from
+ its sysfs representation to help creating udev
rules that match this device.
config UDEV_SEND
@@ -59,8 +59,8 @@ config UDEV_TEST
bool "udevtest"
depends on UDEV
help
- udevtest simulates a udev run for the given device
- and prints out the name of the node udev would have
+ udevtest simulates a udev run for the given device
+ and prints out the name of the node udev would have
created, or the name of the network interface, that
would have been renamend.
@@ -69,3 +69,37 @@ config UDEV_FW_HELPER
depends on UDEV
help
FIXME: This item needs to be documented
+
+comment "runtime options ---"
+ depends on UDEV
+
+config ROOTFS_ETC_INITD_UDEV
+ depends on UDEV
+ bool
+ default y
+ prompt "Install startup script "
+ help
+ The /etc/init.d/udev script lets you control the udevd daemon.
+
+ choice
+ prompt "Kind of startup scrict"
+ default ROOTFS_ETC_INITD_UDEV_DEFAULT
+ depends on ROOTFS_ETC_INITD_UDEV
+
+ config ROOTFS_ETC_INITD_UDEV_DEFAULT
+ bool
+ prompt "Use generic"
+ select UDEV_START
+ help
+ Installs a generic /etc/init.d/udev startup script.
+ See <ptxdist-install>/generic/etc/init.d/udev
+
+ config ROOTFS_ETC_INITD_UDEV_USER
+ bool
+ prompt "User defined"
+ help
+ This uses a user defined udev startup script. PTXdist
+ uses files projectroot/etc/init.d/udev in your local
+ project
+
+ endchoice