nixpkgs/login.sh
Armijn Hemel 4a8b316cf6 * show installation instructions at install time
* update manual to reflect new method better

svn path=/nixu/trunk/; revision=6285
2006-08-27 22:31:35 +00:00

28 lines
775 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:@busybox@/sbin
#tty=$1
#exec < $tty > $tty 2>&1
echo
echo "=== Welcome to Nix! ==="
echo "NixOS Installation instructions"
echo ""
echo "* edit the file called 'disklayout' (vi is provided) and provide"
echo " the following name=value pairs:"
echo " * INSTALLDEVICE (root device, for example /dev/hda1)"
echo " * SWAP (swap device, for example /dev/hda2)"
echo " * TARGETDRIVE (target drive to install grub, for example /dev/hda)"
echo "* run: sh fill-disk.sh"
echo ""
echo ""
echo ""
echo ""
export HOME=/
cd $HOME
exec @bash@/bin/sh