aboutsummaryrefslogtreecommitdiffstats
path: root/core/busybox-initscripts/mdev.initd
diff options
context:
space:
mode:
Diffstat (limited to 'core/busybox-initscripts/mdev.initd')
-rw-r--r--core/busybox-initscripts/mdev.initd33
1 files changed, 0 insertions, 33 deletions
diff --git a/core/busybox-initscripts/mdev.initd b/core/busybox-initscripts/mdev.initd
deleted file mode 100644
index e9309c7006..0000000000
--- a/core/busybox-initscripts/mdev.initd
+++ /dev/null
@@ -1,33 +0,0 @@
-#!/sbin/runscript
-
-depend() {
- provide dev
- need sysfs mdev-mount
- before checkfs fsck
- keyword novserver
-}
-
-start() {
- # check if udev is specified on cmd line
- if get_bootparam "udev"; then
- ewarn "Skipping mdev as udev requested in kernel cmdline"
- return 0
- fi
-
- ebegin "Starting busybox mdev"
- mkdir -p /dev
-
- # use mdev for hotplug
- echo "/sbin/mdev" > /proc/sys/kernel/hotplug
-
- # create devices
- mdev -s
- eend $?
-}
-
-stop() {
- ebegin "Stopping busybox mdev"
- echo "" > /proc/sys/kernel/hotplug
- eend
-}
-