diff options
author | Denys Vlasenko | 2009-11-07 18:21:03 +0100 |
---|---|---|
committer | Denys Vlasenko | 2009-11-07 18:21:03 +0100 |
commit | 44f8d013994c20a53836a8768bd488130c7df9bc (patch) | |
tree | 0207c7655dd52cd83657bdaa86dd14b8ef84af57 /examples | |
parent | bf40f564ae8cada5e9d7fce148aad138842984f6 (diff) | |
download | busybox-44f8d013994c20a53836a8768bd488130c7df9bc.zip busybox-44f8d013994c20a53836a8768bd488130c7df9bc.tar.gz |
tweak mdev_fat.conf example
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'examples')
-rw-r--r-- | examples/mdev_fat.conf | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/examples/mdev_fat.conf b/examples/mdev_fat.conf index 9ac3336..8b94636 100644 --- a/examples/mdev_fat.conf +++ b/examples/mdev_fat.conf @@ -7,11 +7,14 @@ # instead of the default 0:0 660. # # Syntax: -# devicename_regex user:group mode [>|=path] [@|$|*command args...] +# devicename_regex user:group mode [>|=path] [@|$|*cmd args...] # # =: move, >: move and create a symlink # @|$|*: run $cmd on delete, @cmd on create, *cmd on both +# support module loading on hotplug +$MODALIAS=.* root:root 660 @modprobe "$MODALIAS" + # null may already exist; therefore ownership has to be changed with command null root:root 666 @chmod 666 $MDEV zero root:root 666 |