diff options
Diffstat (limited to 'init')
-rw-r--r-- | init | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -13,6 +13,8 @@ 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 case "$cmd" in @@ -77,4 +79,5 @@ fi # Optimize fs type loop for mounting rootfs msg ":: Initramfs Completed - control passing to kinit" +echo "${OLDMODPROBE}" > /proc/sys/kernel/modprobe exec /bin/kinit "root=${root}" ${kinit_params} < /dev/console > /dev/console |