base-files: fix a typo
authorGabor Juhos <juhosg@openwrt.org>
Wed, 23 Apr 2008 14:19:35 +0000 (14:19 +0000)
committerGabor Juhos <juhosg@openwrt.org>
Wed, 23 Apr 2008 14:19:35 +0000 (14:19 +0000)
SVN-Revision: 10927

package/base-files/files/etc/preinit

index ddbb2f33b413a8c5983a80a5ca2b92c793e032d1..524b4252a2be19f82ead54f9442cd456a6bdb808 100755 (executable)
@@ -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