View previous topic :: View next topic |
Author |
Message |
koma Advocate
![Advocate Advocate](/images/ranks/rank-G-1-advocate.gif)
![](images/avatars/208407359441b4bbd170574.jpg)
Joined: 06 Jun 2003 Posts: 2702 Location: Italy
|
Posted: Fri Feb 20, 2004 8:35 pm Post subject: Motd con colore |
|
|
Ragazzi ho letto sul come avere i colori in shell ma funziona solo sulla shell (o nell'etc/issue) ma nel motd nn so come metterlo Suggerimenti? _________________ http://www.youtube.com/watch?v=_yoJI-Tl94g GLORY GLORY HYPNOTOAD |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
Diggs Apprentice
![Apprentice Apprentice](/images/ranks/rank_rect_2.gif)
![](images/avatars/148041757745523c7d2be73.jpg)
Joined: 07 Oct 2003 Posts: 239 Location: LoSt In NeT SpAcE
|
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
koma Advocate
![Advocate Advocate](/images/ranks/rank-G-1-advocate.gif)
![](images/avatars/208407359441b4bbd170574.jpg)
Joined: 06 Jun 2003 Posts: 2702 Location: Italy
|
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
Diggs Apprentice
![Apprentice Apprentice](/images/ranks/rank_rect_2.gif)
![](images/avatars/148041757745523c7d2be73.jpg)
Joined: 07 Oct 2003 Posts: 239 Location: LoSt In NeT SpAcE
|
Posted: Fri Feb 20, 2004 11:41 pm Post subject: |
|
|
Leggi tutto il secondo topic, c'è scritto come fare, basta che hai linux-logo ed il gioco è fatto ![Wink :wink:](images/smiles/icon_wink.gif) _________________ IRCNET NICK: diggs on IRCNET
http://leonardo.netsons.org/
Gioca a Tremulous! Player [!!!] Diggs [ITA] |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
koma Advocate
![Advocate Advocate](/images/ranks/rank-G-1-advocate.gif)
![](images/avatars/208407359441b4bbd170574.jpg)
Joined: 06 Jun 2003 Posts: 2702 Location: Italy
|
Posted: Sat Feb 21, 2004 12:28 am Post subject: |
|
|
Code: | 2.11 Messaggi di login
Se volete personalizzare i messaggi di login, controllate se il vostro /etc/rc.d/rc.local sovrascrive /etc/issue e /etc/motd (RedHat lo fa). Se li sovrascrive, dateci sotto con l'editor.
Se desiderate un messaggio di login colorato, potete adattare il rc.local inserendo linee simili a quelle riportate:
# immette un vero carattere di escape invece di ^[. Per fare questo:
# emacs: ^Q ESC vi: ^V ESC joe: ` 0 2 7 jed: ` ESC
ESC="^[" # un vero carattere di escape
BLUE="$ESC[44;37m"
NORMAL="$ESC[40;37m"
CLEAR="$ESC[H$ESC[J"
> /etc/issue
echo "$CLEAR" >> /etc/issue
echo "$BLUE Welcome to MyServer (192.168.1.1) " >> /etc/issue
echo "$NORMAL " >> /etc/issue
echo "" >> /etc/issue
|
Ho trovato anche questo
ma non so a cxhe file adattarlo cioè :
Code: |
# locate rc.local
/usr/share/doc/util-linux-2.12-r4/examples/rc.local.gz
| quella roba dove dovrei metterla _________________ http://www.youtube.com/watch?v=_yoJI-Tl94g GLORY GLORY HYPNOTOAD
Last edited by koma on Sat Feb 21, 2004 12:34 am; edited 1 time in total |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
koma Advocate
![Advocate Advocate](/images/ranks/rank-G-1-advocate.gif)
![](images/avatars/208407359441b4bbd170574.jpg)
Joined: 06 Jun 2003 Posts: 2702 Location: Italy
|
Posted: Sat Feb 21, 2004 12:31 am Post subject: |
|
|
Code: | Another suggestion:
Codice:
emerge linux-logo
linux_logo -L 3 > /etc/issue (back up /etc/issue first)
You'll then have a gentoo logo in your /etc/issue. There are a few different logos in linux_logo...linux_logo -L 1 gives you a linux penguin with a white/grey background, -L 2 a penguin with a black background, etc. | Ti riferisci a questo vero? No non va funziona solo con l'issue _________________ http://www.youtube.com/watch?v=_yoJI-Tl94g GLORY GLORY HYPNOTOAD |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
|