diff options
author | Pascal Rigaux <pixel@mandriva.com> | 2001-07-04 13:42:24 +0000 |
---|---|---|
committer | Pascal Rigaux <pixel@mandriva.com> | 2001-07-04 13:42:24 +0000 |
commit | 4b281853d9b10f46d8d3799807d67c0f8cfe835c (patch) | |
tree | 3a3b5b7f94e79720a0e9eda726869883d99ba4a1 /perl-install/install_any.pm | |
parent | 2ddea4c4ff73b19afac4567bfbe09f9ffeed9055 (diff) | |
download | drakx-backup-do-not-use-4b281853d9b10f46d8d3799807d67c0f8cfe835c.tar drakx-backup-do-not-use-4b281853d9b10f46d8d3799807d67c0f8cfe835c.tar.gz drakx-backup-do-not-use-4b281853d9b10f46d8d3799807d67c0f8cfe835c.tar.bz2 drakx-backup-do-not-use-4b281853d9b10f46d8d3799807d67c0f8cfe835c.tar.xz drakx-backup-do-not-use-4b281853d9b10f46d8d3799807d67c0f8cfe835c.zip |
remove busybox as default shell. Only use it as the interactive shell on tty2
Diffstat (limited to 'perl-install/install_any.pm')
-rw-r--r-- | perl-install/install_any.pm | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/perl-install/install_any.pm b/perl-install/install_any.pm index 8bbc30fde..de879b172 100644 --- a/perl-install/install_any.pm +++ b/perl-install/install_any.pm @@ -256,7 +256,8 @@ sub spawnShell { ioctl(STDIN, c::TIOCSCTTY(), 0) or warn "could not set new controlling tty: $!"; - exec "/bin/sh" or log::l("exec of /bin/sh failed: $!"); + my $busybox = "/usr/bin/busybox"; + exec {-e $busybox ? $busybox : "/bin/sh"} "/bin/sh" or log::l("exec of /bin/sh failed: $!"); } sub fsck_option { |