e350b00b9b
We don't want executable APKBUILDs, deviceinfo files, etc in pmaports. Remove the executable bit from those files. [ci:skip-build] [ci:skip-vercheck]
24 lines
515 B
Bash
24 lines
515 B
Bash
#!/bin/sh
|
|
|
|
# as for right now, it seems that postmarketOS runs without any color :(
|
|
export TERM=linux
|
|
|
|
nr="$(printf "%s" "$1" | /bin/sed 's/^tty//')"; shift
|
|
|
|
case "$nr" in
|
|
*[!0-9]*)
|
|
echo "Usage: $0 vtnumber"
|
|
exit 1
|
|
;;
|
|
esac
|
|
|
|
tty="$(tty)"
|
|
|
|
if [ "$(tty)" != "/dev/tty$nr" ]
|
|
then exec /sbin/getty -n -l "$0" 38400 "tty$nr" linux
|
|
fi
|
|
|
|
# nicer font (requires terminus-font to be installed)
|
|
setfont /usr/share/consolefonts/ter-u24b.psf.gz
|
|
|
|
exec /usr/bin/console-keyboard-multiplexer -w : -l "CKM$nr" -- login
|