nixpkgs/ramdisk-login.sh
Armijn Hemel b86eb3cf4f don't forget ramdisk login script
svn path=/nixu/trunk/; revision=3761
2005-08-31 13:26:20 +00:00

16 lines
331 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
tty=$1
exec < $tty > $tty 2>&1
echo
echo "=== Welcome to Nix! ==="
export HOME=/
cd $HOME
exec @bash@/bin/sh