about summary refs log tree commit diff
path: root/pkgs/os-specific/linux/mingetty-wrapper/builder.sh
blob: 3797b62340c9cc0c6b87d06d1538a35da69c6385 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
source $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

chmod +x $out/sbin/mingetty