From 118bef8ac3f6f82d1e5b4fdaf19893a6df210acb Mon Sep 17 00:00:00 2001
From: Gabor Juhos <juhosg@openwrt.org>
Date: Wed, 23 Apr 2008 14:19:35 +0000
Subject: [package] base-files: fix a typo

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@10927 3c298f89-4303-0410-b956-a3cf2f4a3e73
---
 package/base-files/files/etc/preinit | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/package/base-files/files/etc/preinit b/package/base-files/files/etc/preinit
index ddbb2f33b4..524b4252a2 100755
--- a/package/base-files/files/etc/preinit
+++ b/package/base-files/files/etc/preinit
@@ -29,7 +29,7 @@ if grep devfs /proc/filesystems > /dev/null; then
 	M1=/dev/pty/m1
 	HOTPLUG=/sbin/hotplug-call
 
-elif [ -x /sbin/hotplug ]; then
+elif [ -x /sbin/hotplug2 ]; then
 	mount -t tmpfs tmpfs /dev -o size=512K
 	mknod /dev/console c 5 1
 	/sbin/hotplug2 --coldplug --set-rules-file /etc/hotplug2-init.rules
-- 
cgit v1.2.3