summaryrefslogtreecommitdiff
path: root/examples
diff options
context:
space:
mode:
authorDenys Vlasenko2009-11-11 06:32:43 +0100
committerDenys Vlasenko2009-11-11 06:32:43 +0100
commitc096a6c2084b6d920182714beb842ebb40087182 (patch)
tree14bfded36519b643679959dac5d945bd38f931a1 /examples
parent13ad90627c85c0d744dfa28637fb80e89677a37f (diff)
downloadbusybox-c096a6c2084b6d920182714beb842ebb40087182.zip
busybox-c096a6c2084b6d920182714beb842ebb40087182.tar.gz
mdev_fat.conf: add a rule to run nameif
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'examples')
-rw-r--r--examples/mdev_fat.conf3
1 files changed, 2 insertions, 1 deletions
diff --git a/examples/mdev_fat.conf b/examples/mdev_fat.conf
index 8b94636..df329b4 100644
--- a/examples/mdev_fat.conf
+++ b/examples/mdev_fat.conf
@@ -7,7 +7,7 @@
# instead of the default 0:0 660.
#
# Syntax:
-# devicename_regex user:group mode [>|=path] [@|$|*cmd 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
@@ -49,6 +49,7 @@ sr[0-9]* root:cdrom 660 @ln -sf $MDEV cdrom
fd[0-9]* root:floppy 660
# net devices
+-net/.* root:root 600 @nameif
tun[0-9]* root:root 600 =net/
tap[0-9]* root:root 600 =net/