[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: ptite question pour noel ;)



[BTH] - Bob L@t@re wrote:
Bonsoir

comme c'est bientot noel je souhaite à tous le monde un joyeux noel ;)

Mais ce qui m'interesse c'est de savoir comment on fait pour avoir ce genre de truc (voir img jointe )

Merci

Je sais ca fait gadget mais ca m'amuse  ;-)    on ne se refait pas ;)

------------------------------------------------------------------------


Salut,
bon noel également.

Pour avoir ceci, il faut :

installe le package linuxlogo

puis ajouter dans inittab : un -f /etc/issue.linuxlogo aux lignes getty afin d'obtenir :

1:2345:respawn:/sbin/getty 38400 -f /etc/issue.linuxlogo tty1
2:23:respawn:/sbin/getty 38400 -f /etc/issue.linuxlogo tty2
3:23:respawn:/sbin/getty 38400 -f /etc/issue.linuxlogo tty3
4:23:respawn:/sbin/getty 38400 -f /etc/issue.linuxlogo tty4
5:23:respawn:/sbin/getty 38400 -f /etc/issue.linuxlogo tty5
6:23:respawn:/sbin/getty 38400 -f /etc/issue.linuxlogo tty6

tu peux éditer : /etc/init.d/linuxlogo et ajouter des -f pour que l' "image occupe tout l'écran".

 start)
      "$DAEMON" -f #<----------------------- <ici>
      $0 restart
    ;;
  restart|force-reload)
      echo -n "Updating the Linuxlogo... "
      "$DAEMON" -f > /etc/issue.linuxlogo #<----------------<ici aussi>
      "$DAEMON" -a > /etc/issue.linuxlogo.ascii
      for F in /etc/issue.linuxlogo /etc/issue.linuxlogo.ascii
      do
          echo -e "\n\n\n" >> $F
          cat /etc/issue >> $F
          echo >> $F
      done
      echo -n "done."
    ;;
  display)
      "$DAEMON" -f		#<------------------------<et puis ici>
      echo; echo; echo "Press any key to exit..."; read AKEY
    ;;


il doit falloir rebooter ou plutot se débrouiller pour que inittab soit relu (cf telinit je crois).

Sébastien Soudan



Reply to: