projects
/
live-initramfs-grml.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
Adjust spacing in grml/05mountpoints
[live-initramfs-grml.git]
/
bin
/
live-getty
1
#!/bin/sh
2
3
set -e
4
5
AUTOLOGIN="1"
6
7
for ARGUMENT in "${@}"
8
do
9
if [ "${ARGUMENT}" = "-l" ] || [ "${ARGUMENT}" = "-n" ]
10
then
11
AUTOLOGIN="0"
12
fi
13
done
14
15
if [ "${AUTOLOGIN}" = "1" ]
16
then
17
exec /sbin/getty -n -l /sbin/live-login ${*}
18
else
19
exec /sbin/getty ${*}
20
fi