mrrl-mdev-conf

mdevd configuration for mrrl; fork of Alpine's mdev-conf
git clone https://ccx.te2000.cz/git/mrrl-mdev-conf
Log | Files | Refs | README | LICENSE

commit 3dc20a21f2b729b7c9ac2a1e00f0b4e3f68963a5
parent 624401461b593311ab852a44c4a0920a2183dd92
Author: Natanael Copa <ncopa@alpinelinux.org>
Date:   Thu, 23 May 2024 16:56:37 +0200

mdev.conf: add support for /etc/mactab

Execute nameif if /etc/mactab exists when network interfaces are
discovered.

Diffstat:
Mmdev.conf | 1+
1 file changed, 1 insertion(+), 0 deletions(-)

diff --git a/mdev.conf b/mdev.conf @@ -123,6 +123,7 @@ usb[0-9]+ root:root 0660 */lib/mdev/usbdev # 666 is fine: https://www.kernel.org/doc/Documentation/networking/tuntap.txt net/tun[0-9]* root:netdev 0666 net/tap[0-9]* root:netdev 0666 +SUBSYSTEM=net;INTERFACE=.*;.* root:root 600 @test -r /etc/mactab && nameif -s # zaptel devices zap(.*) root:dialout 0660 =zap/%1