Gentoo Archives: gentoo-dev

From: "Yrjö Hatakka" <yrjo.hatakka@×××××××.fi>
To: gentoo-dev@g.o
Subject: Re: [gentoo-dev] /etc/issue*
Date: Wed, 24 Jul 2002 09:13:40
Message-Id: 200207241712.57197.yrjo.hatakka@pp.inet.fi
In Reply to: [gentoo-dev] /etc/issue* by Andreas Kotowicz
1 -----BEGIN PGP SIGNED MESSAGE-----
2 Hash: SHA1
3
4 On Wednesday 24 July 2002 11:42, Andreas Kotowicz wrote:
5 > I just saw that gentoo has neither /etc/issue nor /etc/issue.net file.
6 > Is this done on purpose?
7 > Would anything speak against having those files and telling the world
8 > (and our local programs) that we are running gentoo?
9
10 - From the gentoo forums I found something like below,
11 it uses linux_logo you may omit that.
12
13 yrjo_h@cartman yrjo_h $ cat /etc/init.d/issue
14 #!/bin/sh
15 # Local system initialization script
16 RELEASE="Release 1.2"
17
18 COLOR1="\033[1;6m\033[32;40m" # bright green on black
19 COLOR2="\033[1;6m\033[34;40m" # bright purple on black
20 COLOR3="\033[1;6m\033[31;40m" # bright red on black
21 COLOR4="\033[1;6m\033[33;40m" # bright yellow on black
22
23 rm -f /etc/issue
24 /usr/bin/linux_logo -L 3 -f >>/etc/issue
25 echo -e $COLOR1"Gentoo"$COLOR2 "Linux" $COLOR4"$RELEASE"
26 $COLOR_RESET"(\l)">>/etc/issue
27 echo -e $COLOR3"Welcome to the Wired!">>/etc/issue
28 echo >>/etc/issue
29 cp -f /etc/issue /etc/issue.net
30 sleep 1
31 yrjo_h@cartman yrjo_h $
32
33 Hope this helps
34 - --
35 Linux cartman.linux.home 2.4.19-gentoo-r7 #1 Fri Jul 5 00:45:50 EEST 2002 i686
36 AuthenticAMD
37 -----BEGIN PGP SIGNATURE-----
38 Version: GnuPG v1.0.7 (GNU/Linux)
39
40 iD4DBQE9PuAQ6BYkNNMD2uARArOoAJiL1seZ2SFIfPId6mMK8JsbXvbtAJ4o0IRY
41 fmhzNvQjI5Pplsu6V8TpwA==
42 =RJBJ
43 -----END PGP SIGNATURE-----