aboutsummaryrefslogtreecommitdiffstats
path: root/main/busybox-initscripts/mdev.conf
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2013-08-07 06:40:02 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2013-08-07 06:40:02 +0000
commit79fd28fa96d12a25831ef7761d58c633ab9cb727 (patch)
treec7057d27dfabba882d12238808b3f197479af758 /main/busybox-initscripts/mdev.conf
parentf3b316ae262e39e378b9a70d62a20b15ba451795 (diff)
downloadaports-79fd28fa96d12a25831ef7761d58c633ab9cb727.tar.bz2
aports-79fd28fa96d12a25831ef7761d58c633ab9cb727.tar.xz
main/busybox-initscripts: fix module autoloading
ref #2071
Diffstat (limited to 'main/busybox-initscripts/mdev.conf')
-rw-r--r--main/busybox-initscripts/mdev.conf2
1 files changed, 2 insertions, 0 deletions
diff --git a/main/busybox-initscripts/mdev.conf b/main/busybox-initscripts/mdev.conf
index 3933528ff3..7b5cc4595d 100644
--- a/main/busybox-initscripts/mdev.conf
+++ b/main/busybox-initscripts/mdev.conf
@@ -6,6 +6,8 @@
# Syntax: %s %d:%d %s
# devices user:group mode
+$MODALIAS=.* root:root 0660 @modprobe -b "$MODALIAS"
+
# null does already exist; therefore ownership has to be changed with command
null root:root 0666 @chmod 666 $MDEV
zero root:root 0666