Quellcode durchsuchen

Make mailbox installs visually distinct

Bob Mottram vor 10 Jahren
Ursprung
Commit
32001094c8
1 geänderte Dateien mit 8 neuen und 0 gelöschten Zeilen
  1. 8
    0
      install-freedombone.sh

+ 8
- 0
install-freedombone.sh Datei anzeigen

@@ -139,6 +139,14 @@ function change_login_message {
139 139
   echo "|--- .--. .-.  .-.  .-.|  .-. .--.--. |.-.  .-. .--.  .-. " >> /etc/motd
140 140
   echo "|    |   (.-' (.-' (   | (   )|  |  | |   )(   )|  | (.-' " >> /etc/motd
141 141
   echo "'    '     --'  --'  -' -  -' '  '   -' -'   -' '   -  --'" >> /etc/motd
142
+
143
+  if [[ $SYSTEM_TYPE == "email" || $SYSTEM_TYPE == "mailbox" ]]; then
144
+      echo '             .    .           . .                         ' >> /etc/motd
145
+      echo '             |\  /|        o  | |                         ' >> /etc/motd
146
+      echo '             | \/ | .-.    .  | |.-.  .-.-. ,-            ' >> /etc/motd
147
+      echo '             |    |(   )   |  | |   )(   ) :              ' >> /etc/motd
148
+      echo '             '    ' `-' --'  - -' -'  `-'-' `-            ' >> /etc/motd
149
+  fi
142 150
   echo '' >> /etc/motd
143 151
   echo '                  Freedom in the Cloud' >> /etc/motd
144 152
   echo '' >> /etc/motd