mirror of
https://github.com/YunoHost/yunohost.git
synced 2024-09-03 20:06:10 +02:00
Misc issues with yunoprompt
This commit is contained in:
parent
62e84d8b4b
commit
5ab5c83d54
2 changed files with 8 additions and 8 deletions
|
@ -43,22 +43,21 @@ LOGO_AND_FINGERPRINTS=$(cat << EOF
|
||||||
|
|
||||||
$LOGO
|
$LOGO
|
||||||
|
|
||||||
IP: ${local_ip}
|
Local IP: ${local_ip:-(no ip detected?)}
|
||||||
X509 fingerprint: ${x509_fingerprint}
|
Local SSL CA X509 fingerprint:
|
||||||
|
${x509_fingerprint}
|
||||||
SSH fingerprints:
|
SSH fingerprints:
|
||||||
${fingerprint[0]}
|
${fingerprint[0]}
|
||||||
${fingerprint[1]}
|
${fingerprint[1]}
|
||||||
${fingerprint[2]}
|
${fingerprint[2]}
|
||||||
${fingerprint[3]}
|
|
||||||
${fingerprint[4]}
|
|
||||||
|
|
||||||
EOF
|
EOF
|
||||||
)
|
)
|
||||||
|
|
||||||
if [[ -f /etc/yunohost/installed ]]
|
echo "$LOGO_AND_FINGERPRINTS" > /etc/issue
|
||||||
|
|
||||||
|
if [[ ! -f /etc/yunohost/installed ]]
|
||||||
then
|
then
|
||||||
echo "$LOGO_AND_FINGERPRINTS" > /etc/issue
|
|
||||||
else
|
|
||||||
chvt 2
|
chvt 2
|
||||||
|
|
||||||
# Formatting
|
# Formatting
|
||||||
|
|
|
@ -1,6 +1,7 @@
|
||||||
[Unit]
|
[Unit]
|
||||||
Description=YunoHost boot prompt
|
Description=YunoHost boot prompt
|
||||||
After=getty@tty2.service
|
After=getty@tty2.service
|
||||||
|
After=network.target
|
||||||
|
|
||||||
[Service]
|
[Service]
|
||||||
Type=simple
|
Type=simple
|
||||||
|
|
Loading…
Add table
Reference in a new issue