summaryrefslogtreecommitdiffstats
path: root/openembedded/packages/udev/files/local.rules
diff options
context:
space:
mode:
authorRichard Purdie <richard@openedhand.com>2006-05-09 18:38:19 +0000
committerRichard Purdie <richard@openedhand.com>2006-05-09 18:38:19 +0000
commitb4cb437c6595ff8ac13506e502fe04b1a60c4e04 (patch)
treef529de217094f1a49049f90c49d779a49e19cd7c /openembedded/packages/udev/files/local.rules
parent3baacb49c13a48798d45e30a0a0076ca0b8c9e6a (diff)
downloadpoky-b4cb437c6595ff8ac13506e502fe04b1a60c4e04.tar.gz
Merge packages changes from OE into poky.
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@386 311d38ba-8fff-0310-9ca6-ca027cbcb966
Diffstat (limited to 'openembedded/packages/udev/files/local.rules')
-rw-r--r--openembedded/packages/udev/files/local.rules17
1 files changed, 17 insertions, 0 deletions
diff --git a/openembedded/packages/udev/files/local.rules b/openembedded/packages/udev/files/local.rules
index 4bcaaa8aba..5f2efbeb0c 100644
--- a/openembedded/packages/udev/files/local.rules
+++ b/openembedded/packages/udev/files/local.rules
@@ -1,5 +1,22 @@
1# There are a number of modifiers that are allowed to be used in some
2# of the different fields. They provide the following subsitutions:
3#
4# %n the "kernel number" of the device.
5# For example, 'sda3' has a "kernel number" of '3'
6# %e the smallest number for that name which does not matches an existing node
7# %k the kernel name for the device
8# %M the kernel major number for the device
9# %m the kernel minor number for the device
10# %b the bus id for the device
11# %c the string returned by the PROGRAM
12# %s{filename} the content of a sysfs attribute
13# %% the '%' char itself
14#
15
16# Media automounting
1SUBSYSTEM=="block", ACTION=="add" RUN+="/etc/udev/scripts/mount.sh" 17SUBSYSTEM=="block", ACTION=="add" RUN+="/etc/udev/scripts/mount.sh"
2SUBSYSTEM=="block", ACTION=="remove" RUN+="/etc/udev/scripts/mount.sh" 18SUBSYSTEM=="block", ACTION=="remove" RUN+="/etc/udev/scripts/mount.sh"
3 19
20# Handle network interface setup
4SUBSYSTEM=="net", ACTION=="add" RUN+="/etc/udev/scripts/network.sh" 21SUBSYSTEM=="net", ACTION=="add" RUN+="/etc/udev/scripts/network.sh"
5SUBSYSTEM=="net", ACTION=="remove" RUN+="/etc/udev/scripts/network.sh" 22SUBSYSTEM=="net", ACTION=="remove" RUN+="/etc/udev/scripts/network.sh"