diff options
author | Dirk von Suchodoletz | 2006-12-15 22:40:12 +0100 |
---|---|---|
committer | Dirk von Suchodoletz | 2006-12-15 22:40:12 +0100 |
commit | 3325d167fc1c8edb64cccc92257c4c0af7319dba (patch) | |
tree | a52566d6d5259fc80bb693f9a4735618e4f1f1d6 /initramfs/initrd-stuff/init | |
parent | Add settings and settings.local example for SUSE Linux 9.3. (diff) | |
download | core-3325d167fc1c8edb64cccc92257c4c0af7319dba.tar.gz core-3325d167fc1c8edb64cccc92257c4c0af7319dba.tar.xz core-3325d167fc1c8edb64cccc92257c4c0af7319dba.zip |
Renamed run-init to switch_root to simplify the usage of the busybox
pendant in stage3 init script...
git-svn-id: http://svn.openslx.org/svn/openslx/trunk@545 95ad53e4-c205-0410-b2fa-d234c58c8868
Diffstat (limited to 'initramfs/initrd-stuff/init')
-rwxr-xr-x | initramfs/initrd-stuff/init | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/initramfs/initrd-stuff/init b/initramfs/initrd-stuff/init index b5630bdc..86208016 100755 --- a/initramfs/initrd-stuff/init +++ b/initramfs/initrd-stuff/init @@ -576,6 +576,6 @@ unset BOOT_IMAGE KCMDLINE KERNEL MODPRV NWMODULES OLDPWD UDEVD_EVENT_TIMEOUT \ UDEVD_EXPECTED_SEQNUM #strinstr "bash" "$(ls -la /bin/sh)" && EE="-c" # new style of pivoting (exec -c would set an empty environment in bash) -exec run-init -c dev/console /mnt /sbin/init || error "$init_runinit" +#exec run-init -c dev/console /mnt /sbin/init || error "$init_runinit" # run-init could be replaced with switch_root from busybox ... -#exec switch_root -c dev/console /mnt /sbin/init || error "$init_runinit" +exec switch_root -c dev/console /mnt /sbin/init || error "$init_runinit" |