From 6e0ddd4526f3e0005babe9381c17c06c22a9eda3 Mon Sep 17 00:00:00 2001 From: Koen Kooi Date: Mon, 17 Sep 2012 10:58:11 +0000 Subject: systemd: update to v189 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Koen Kooi Signed-off-by: Eric BĂ©nard --- meta-oe/recipes-core/systemd/systemd/modprobe.rules | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 meta-oe/recipes-core/systemd/systemd/modprobe.rules (limited to 'meta-oe/recipes-core/systemd/systemd/modprobe.rules') diff --git a/meta-oe/recipes-core/systemd/systemd/modprobe.rules b/meta-oe/recipes-core/systemd/systemd/modprobe.rules new file mode 100644 index 000000000..d4a096b82 --- /dev/null +++ b/meta-oe/recipes-core/systemd/systemd/modprobe.rules @@ -0,0 +1,17 @@ +# There are a number of modifiers that are allowed to be used in some +# of the different fields. They provide the following subsitutions: +# +# %n the "kernel number" of the device. +# For example, 'sda3' has a "kernel number" of '3' +# %e the smallest number for that name which does not matches an existing node +# %k the kernel name for the device +# %M the kernel major number for the device +# %m the kernel minor number for the device +# %b the bus id for the device +# %c the string returned by the PROGRAM +# %s{filename} the content of a sysfs attribute +# %% the '%' char itself +# + +# Try and modprobe for drivers for new hardware +ACTION=="add", DEVPATH=="/devices/*", ENV{MODALIAS}=="?*", RUN+="/sbin/modprobe $env{MODALIAS}" -- cgit v1.2.3-54-g00ecf