nixpkgs/boot/login.sh
Armijn Hemel b1b5fdd7cd change root homedir to /root instead of /home/root
svn path=/nixu/trunk/; revision=3659
2005-08-21 23:15:24 +00:00

16 lines
158 B
Bash

#! @bash@/bin/sh -e
. @out@/bin/env.sh
tty=$1
exec < $tty > $tty 2>&1
echo
echo "=== Welcome to Nix! ==="
export HOME=/root
cd $HOME
exec @bash@/bin/sh