changeset 558:a85759a313b1

core/etc: mdev is actually named busybox.mdev
author David Demelier <markand@malikania.fr>
date Fri, 05 Jul 2019 21:00:00 +0200
parents 73e25417284b
children d6be16d7c5de
files core/etc/rc.init
diffstat 1 files changed, 4 insertions(+), 4 deletions(-) [+]
line wrap: on
line diff
--- a/core/etc/rc.init	Fri Jul 05 20:21:00 2019 +0200
+++ b/core/etc/rc.init	Fri Jul 05 21:00:00 2019 +0200
@@ -64,15 +64,15 @@
 # Start a device service. Both eudev and busybox's mdev are supported but only
 # one at a time must be enabled.
 #
-if [ -x /etc/rc.d/udevd ] && [ -x /etc/rc.d/mdev ]; then
-	echo "Warning: both /etc/rc.d/udevd and /etc/rc.mdev are enabled" 1>&2
+if [ -x /etc/rc.d/udevd ] && [ -x /etc/rc.d/busybox.mdev ]; then
+	echo "Warning: both /etc/rc.d/udevd and /etc/rc.d/busybox.mdev are enabled" 1>&2
 	echo "Warning: using udevd instead" 1>&2
 fi
 
 if [ -x /etc/rc.d/udevd ]; then
 	/etc/rc.d/udevd start
-elif [ -x /etc/rc.d/mdev ]; then
-	/etc/rc.d/mdev start
+elif [ -x /etc/rc.d/busybox.mdev ]; then
+	/etc/rc.d/busybox.mdev start
 fi
 
 if [ -x /bin/fsck ]; then