nixpkgs/boot/login.sh
Eelco Dolstra 91a5fe9eb0 * Networking now works in the UML machine. Masquerading for the tun
device should be enabled on the host in order for the UML machine to
  be able to talk to the Internet.

svn path=/nixu/trunk/; revision=806
2004-02-19 12:49:00 +00:00

16 lines
163 B
Bash

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