nixpkgs/pkgs/os-specific/linux/mingetty-wrapper/builder.sh

11 lines
223 B
Bash
Raw Normal View History

. $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