mirror of
https://github.com/sheumann/hush.git
synced 2024-12-21 08:29:45 +00:00
mdev_fat.conf: add a rule to run nameif
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
This commit is contained in:
parent
13ad90627c
commit
c096a6c208
@ -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/
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user