repo.or.cz
/
debian-live-boot
/
hramrach.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Removing keyboard bottom script, live-config takes care about that now.
[debian-live-boot/hramrach.git]
/
bin
/
live-getty
blob
6781ea5878e81880ec9a9d8408309a672a8141ec
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