diff options
author | Aaron Griffin <aaron@archlinux.org> | 2006-05-07 00:20:51 +0200 |
---|---|---|
committer | Aaron Griffin <aaron@archlinux.org> | 2006-05-07 00:20:51 +0200 |
commit | 212033832a355b6ca1ad61f0f0460cf7b9b07c2d (patch) | |
tree | df67b52c54b34bbe10841db3e2931cd751138d27 | |
parent | dfa96bef3516723c144dbb61a9b13f728e678c7c (diff) | |
download | mkinitcpio-212033832a355b6ca1ad61f0f0460cf7b9b07c2d.tar.gz mkinitcpio-212033832a355b6ca1ad61f0f0460cf7b9b07c2d.tar.xz |
Switched kernel-known modprobe, for init-based autoloading
git-svn-id: http://projects.archlinux.org/svn/initramfs/mkinitcpio@76 880c04e9-e011-0410-abf7-b926e227c9cd
-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 |