7e6a7d6418
TODO: rewrite some of the tools to use the busybox tools instead of the "normal" utilities during installation, so we can shave off another 15 MB from the installer svn path=/nixu/trunk/; revision=6063
16 lines
345 B
Bash
16 lines
345 B
Bash
#! @bash@/bin/sh -e
|
|
|
|
export PATH=@bash@/bin:@coreutilsdiet@/bin:@coreutils@/bin:@findutils@/bin:@utillinux@/bin:@utillinux@/sbin:@e2fsprogs@/sbin:@grub@/sbin:@sysvinitPath@/sbin:@gnugrep@/bin:@which@/bin:@gnutar@/bin:@busybox@/bin
|
|
|
|
tty=$1
|
|
|
|
exec < $tty > $tty 2>&1
|
|
|
|
echo
|
|
echo "=== Welcome to Nix! ==="
|
|
|
|
export HOME=/
|
|
cd $HOME
|
|
|
|
exec @bash@/bin/sh
|