summaryrefslogtreecommitdiffstats
path: root/init
diff options
context:
space:
mode:
authorTobias Powalowski <tpowa@archlinux.org>2006-05-07 15:03:33 +0200
committerTobias Powalowski <tpowa@archlinux.org>2006-05-07 15:03:33 +0200
commitc65948fcdfca6da75f42615959660c2293c907c4 (patch)
treec6e94bf836d5f97b57d6bbe9d17a0b5ce74ede7c /init
parent3c2796fc34d6b5d41c9ff7b4389651bbbe6d018b (diff)
downloadmkinitcpio-c65948fcdfca6da75f42615959660c2293c907c4.tar.gz
mkinitcpio-c65948fcdfca6da75f42615959660c2293c907c4.tar.xz
'fixed mdadm check and modprobe hardcoded'
git-svn-id: http://projects.archlinux.org/svn/initramfs/mkinitcpio@79 880c04e9-e011-0410-abf7-b926e227c9cd
Diffstat (limited to 'init')
-rw-r--r--init3
1 files changed, 1 insertions, 2 deletions
diff --git a/init b/init
index 7cf4943..774c106 100644
--- a/init
+++ b/init
@@ -13,7 +13,6 @@ export CMDLINE
# Used so hooks can override params to kinit
export kinit_params=""
-read OLDMODPROBE </proc/sys/kernel/modprobe
echo "/bin/modprobe" > /proc/sys/kernel/modprobe
for cmd in $CMDLINE; do
@@ -79,5 +78,5 @@ fi
# Optimize fs type loop for mounting rootfs
msg ":: Initramfs Completed - control passing to kinit"
-echo "${OLDMODPROBE}" > /proc/sys/kernel/modprobe
+echo "/sbin/modprobe" > /proc/sys/kernel/modprobe
exec /bin/kinit "root=${root}" ${kinit_params} < /dev/console > /dev/console