diff options
author | Ron Yorston <rmy@pobox.com> | 2012-09-07 11:48:25 +0100 |
---|---|---|
committer | Ron Yorston <rmy@pobox.com> | 2012-09-07 11:48:25 +0100 |
commit | fecf687cc358883de2da21de33346f0df204c80b (patch) | |
tree | d22c606157926fb659374ae68d55e3a874bacf25 /examples | |
parent | b25a7c28a0f684087fa6ccbbc7e265a9cac0f0fa (diff) | |
parent | 6d463de46b418e6c4c8d1397033608f78b33ab21 (diff) | |
download | busybox-w32-fecf687cc358883de2da21de33346f0df204c80b.tar.gz busybox-w32-fecf687cc358883de2da21de33346f0df204c80b.tar.bz2 busybox-w32-fecf687cc358883de2da21de33346f0df204c80b.zip |
Merge branch 'busybox' into merge
Conflicts:
include/libbb.h
shell/ash.c
Diffstat (limited to 'examples')
-rw-r--r-- | examples/mdev.conf | 10 | ||||
-rw-r--r-- | examples/mdev_fat.conf | 9 |
2 files changed, 14 insertions, 5 deletions
diff --git a/examples/mdev.conf b/examples/mdev.conf index cdbb4fcfe..51795694d 100644 --- a/examples/mdev.conf +++ b/examples/mdev.conf | |||
@@ -7,8 +7,14 @@ | |||
7 | # instead of the default 0:0 660. | 7 | # instead of the default 0:0 660. |
8 | # | 8 | # |
9 | # Syntax: | 9 | # Syntax: |
10 | # %s %d:%d %s | 10 | # [-]devicename_regex user:group mode [=path]|[>path]|[!] [@|$|*cmd args...] |
11 | # devicename_regex user:group mode | 11 | # [-]$ENVVAR=regex user:group mode [=path]|[>path]|[!] [@|$|*cmd args...] |
12 | # [-]@maj,min[-min2] user:group mode [=path]|[>path]|[!] [@|$|*cmd args...] | ||
13 | # | ||
14 | # [-]: do not stop on this match, continue reading mdev.conf | ||
15 | # =: move, >: move and create a symlink | ||
16 | # !: do not create device node | ||
17 | # @|$|*: run@cmd if $ACTION=add, $cmd if $ACTION=remove, *cmd in all cases | ||
12 | 18 | ||
13 | null 0:0 666 | 19 | null 0:0 666 |
14 | zero 0:0 666 | 20 | zero 0:0 666 |
diff --git a/examples/mdev_fat.conf b/examples/mdev_fat.conf index df329b4b5..ceba3a797 100644 --- a/examples/mdev_fat.conf +++ b/examples/mdev_fat.conf | |||
@@ -7,10 +7,14 @@ | |||
7 | # instead of the default 0:0 660. | 7 | # instead of the default 0:0 660. |
8 | # | 8 | # |
9 | # Syntax: | 9 | # Syntax: |
10 | # [-]devicename_regex user:group mode [>|=path] [@|$|*cmd args...] | 10 | # [-]devicename_regex user:group mode [=path]|[>path]|[!] [@|$|*cmd args...] |
11 | # [-]$ENVVAR=regex user:group mode [=path]|[>path]|[!] [@|$|*cmd args...] | ||
12 | # [-]@maj,min[-min2] user:group mode [=path]|[>path]|[!] [@|$|*cmd args...] | ||
11 | # | 13 | # |
14 | # [-]: do not stop on this match, continue reading mdev.conf | ||
12 | # =: move, >: move and create a symlink | 15 | # =: move, >: move and create a symlink |
13 | # @|$|*: run $cmd on delete, @cmd on create, *cmd on both | 16 | # !: do not create device node |
17 | # @|$|*: run cmd if $ACTION=remove, @cmd if $ACTION=add, *cmd in all cases | ||
14 | 18 | ||
15 | # support module loading on hotplug | 19 | # support module loading on hotplug |
16 | $MODALIAS=.* root:root 660 @modprobe "$MODALIAS" | 20 | $MODALIAS=.* root:root 660 @modprobe "$MODALIAS" |
@@ -49,7 +53,6 @@ sr[0-9]* root:cdrom 660 @ln -sf $MDEV cdrom | |||
49 | fd[0-9]* root:floppy 660 | 53 | fd[0-9]* root:floppy 660 |
50 | 54 | ||
51 | # net devices | 55 | # net devices |
52 | -net/.* root:root 600 @nameif | ||
53 | tun[0-9]* root:root 600 =net/ | 56 | tun[0-9]* root:root 600 =net/ |
54 | tap[0-9]* root:root 600 =net/ | 57 | tap[0-9]* root:root 600 =net/ |
55 | 58 | ||