don't forget ramdisk login script
svn path=/nixu/trunk/; revision=3761
This commit is contained in:
parent
f74115278f
commit
b86eb3cf4f
1 changed files with 15 additions and 0 deletions
15
ramdisk-login.sh
Normal file
15
ramdisk-login.sh
Normal file
|
@ -0,0 +1,15 @@
|
|||
#! @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
|
Loading…
Reference in a new issue