ubuntu:motd
                Differenze
Queste sono le differenze tra la revisione selezionata e la versione attuale della pagina.
| Entrambe le parti precedenti la revisioneRevisione precedenteProssima revisione | Revisione precedente | ||
| ubuntu:motd [29/01/2020 02:51] – djbx83 | ubuntu:motd [28/03/2024 22:24] (versione attuale) – modifica esterna 127.0.0.1 | ||
|---|---|---|---|
| Linea 3: | Linea 3: | ||
| ===== FBLab.it Servers MOTD ===== | ===== FBLab.it Servers MOTD ===== | ||
| - | #!/bin/bash | + | Prendendo spunto da [[https://linuxconfig.org/how-to-change-welcome-message-motd-on-ubuntu-18-04-server]] ho realizzato questo script che sfrutta il principio di generazione MOTD su distribuzione Ubuntu, utilizzando svariati script situati in **/ | 
| - | apt-get -y install screenfetch toilet inxi | + | |
| - | chmod -x / | + | |
| - | echo -e '# | + | |
| - | echo -e ' | + | |
| - | echo -e '# | + | |
| - | echo -e ' | + | |
| - | echo -e ' | + | |
| - | echo -e 'inxi -Dxxxx' | + | |
| - | chmod +x / | + | |
| - | chmod +x / | + | |
| - | chmod +x / | + | |
| - | chmod +x / | + | |
| - | chmod +x / | + | |
| - | chmod +x / | + | |
| - | run-parts / | + | |
| + | Ho creato il mio personalizzato che eseguo al termine di una fresh install. Potenzialmente potrebbe funzionare anche su altre Distro, basta utilizzare il corretto gestore di pacchetti al posto di apt-get, per la distribuzione corrente. | ||
| + | Enjoy. | ||
| + | |||
| + | #!/bin/bash | ||
| + | apt-get -y install screenfetch toilet inxi | ||
| + |   chmod -x / | ||
| + |   echo -e '# | ||
| + |   echo -e ' | ||
| + |   echo -e '# | ||
| + |   echo -e ' | ||
| + |   echo -e ' | ||
| + |   echo -e 'inxi -Dxxxx' | ||
| + |   chmod +x / | ||
| + |   chmod +x / | ||
| + |   chmod +x / | ||
| + |   chmod +x / | ||
| + |   chmod +x / | ||
| + |   chmod +x / | ||
| + |   run-parts / | ||
ubuntu/motd.1580262686.txt.gz · Ultima modifica:  (modifica esterna)
                
                