X-Git-Url: https://git.librecmc.org/?a=blobdiff_plain;f=examples%2Fmdev_fat.conf;h=df329b4b54688cdf0bd1d43ffac05b76307df0d6;hb=729ecb87bfbbaf9250837d8b8748503c5e97bfd6;hp=9ac333608837154d1fd3cdfc38f719e2ebc1fcce;hpb=bf40f564ae8cada5e9d7fce148aad138842984f6;p=oweals%2Fbusybox.git diff --git a/examples/mdev_fat.conf b/examples/mdev_fat.conf index 9ac333608..df329b4b5 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 @@ -46,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/