aboutsummaryrefslogtreecommitdiffstats
path: root/core/openrc/hwdrivers.initd
diff options
context:
space:
mode:
Diffstat (limited to 'core/openrc/hwdrivers.initd')
-rw-r--r--core/openrc/hwdrivers.initd27
1 files changed, 0 insertions, 27 deletions
diff --git a/core/openrc/hwdrivers.initd b/core/openrc/hwdrivers.initd
deleted file mode 100644
index 3d0ebf12b5..0000000000
--- a/core/openrc/hwdrivers.initd
+++ /dev/null
@@ -1,27 +0,0 @@
-#!/sbin/runscript
-
-depend() {
- need sysfs dev
- before checkfs fsck
- after modloop
- keyword novserver
-}
-
-# Load hardware drivers
-start() {
- # check for boot option "nocoldplug"
- if get_bootparam noautodetect; then
- ewarn "Autodetection of hardware disabled from boot cmdline"
- return 0
- fi
-
-
- ebegin "Loading hardware drivers"
- find /sys -name modalias | xargs sort -u \
- | xargs modprobe -a 2> /dev/null
- # we run it twice so we detect all devices
- find /sys -name modalias | xargs sort -u \
- | xargs modprobe -a 2> /dev/null
- eend 0
-}
-