summaryrefslogtreecommitdiff
path: root/package/base-files/files/etc/preinit
diff options
context:
space:
mode:
authorGabor Juhos <juhosg@openwrt.org>2008-04-23 14:19:35 +0000
committerGabor Juhos <juhosg@openwrt.org>2008-04-23 14:19:35 +0000
commit8b011c593d1db6f7c361753acab3134653c21351 (patch)
tree31261a92f15d62a555317ea2a921cf56056c61bc /package/base-files/files/etc/preinit
parente9f183265de9cb414f860e66db57032b330ffcf6 (diff)
downloadmtk-20170518-8b011c593d1db6f7c361753acab3134653c21351.zip
mtk-20170518-8b011c593d1db6f7c361753acab3134653c21351.tar.gz
mtk-20170518-8b011c593d1db6f7c361753acab3134653c21351.tar.bz2
base-files: fix a typo
SVN-Revision: 10927
Diffstat (limited to 'package/base-files/files/etc/preinit')
-rwxr-xr-xpackage/base-files/files/etc/preinit2
1 files changed, 1 insertions, 1 deletions
diff --git a/package/base-files/files/etc/preinit b/package/base-files/files/etc/preinit
index ddbb2f3..524b425 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