nixpkgs/pkgs/os-specific/linux/mingetty-wrapper/builder.sh
Armijn Hemel 36c969565f add
svn path=/nixpkgs/trunk/; revision=3721
2005-08-27 17:58:07 +00:00

11 lines
223 B
Bash

. $stdenv/setup
#. $makeWrapper
ensureDir "$(dirname $out)"
ensureDir "$(dirname $out/sbin/mingetty)"
cat > $out/sbin/mingetty << END
#! $SHELL -e
exec $mingetty/sbin/mingetty --loginprog=$shadowutils/bin/login "\$@"
END