aboutsummaryrefslogtreecommitdiffstats
path: root/main/busybox-initscripts/mdev.conf
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2014-07-22 06:06:12 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2014-07-22 06:06:12 +0000
commit2bc0e0bf93ebc8486cda686b659f71a8bae87faa (patch)
treebbd8eb4fe8ef9b05a279e42ffccf44ea8005c267 /main/busybox-initscripts/mdev.conf
parentb48804fffa433025b0e6d29f0b90f9345de5b3fa (diff)
downloadaports-2bc0e0bf93ebc8486cda686b659f71a8bae87faa.tar.bz2
aports-2bc0e0bf93ebc8486cda686b659f71a8bae87faa.tar.xz
main/busybox-initscripts: mdev: fix default config to work with newer kernels
It seems like kernel now specify the devices ass foo/bar instead ofi foo/bar. Adjust default mdev.conf to support both. ref #3091
Diffstat (limited to 'main/busybox-initscripts/mdev.conf')
-rw-r--r--main/busybox-initscripts/mdev.conf4
1 files changed, 4 insertions, 0 deletions
diff --git a/main/busybox-initscripts/mdev.conf b/main/busybox-initscripts/mdev.conf
index 354af56963..bf1c83c45f 100644
--- a/main/busybox-initscripts/mdev.conf
+++ b/main/busybox-initscripts/mdev.conf
@@ -100,11 +100,15 @@ tap[0-9]* root:root 0600 =net/
# zaptel devices
zap(.*) root:dialout 0660 =zap/%1
dahdi!(.*) root:dialout 0660 =dahdi/%1
+dahdi/(.*) root:dialout 0660 =dahdi/%1
# raid controllers
cciss!(.*) root:disk 0660 =cciss/%1
+cciss/(.*) root:disk 0660 =cciss/%1
ida!(.*) root:disk 0660 =ida/%1
+ida/(.*) root:disk 0660 =ida/%1
rd!(.*) root:disk 0660 =rd/%1
+rd/(.*) root:disk 0660 =rd/%1
sr0 root:cdrom 0660 @ln -sf $MDEV cdrom