summaryrefslogtreecommitdiffstats
path: root/init
diff options
context:
space:
mode:
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