diff options
author | Michael Januszewski <spock@gentoo.org> | 2004-04-24 19:29:58 +0000 |
---|---|---|
committer | Michael Januszewski <spock@gentoo.org> | 2004-04-24 19:29:58 +0000 |
commit | a24bc541363c1f7bba377b2de7e74b9563395a2b (patch) | |
tree | 34b742d22dc24bdab562c003262b455222537450 /app-misc/linux-logo/files | |
parent | marked ppc64 stable (Manifest recommit) (diff) | |
download | gentoo-2-a24bc541363c1f7bba377b2de7e74b9563395a2b.tar.gz gentoo-2-a24bc541363c1f7bba377b2de7e74b9563395a2b.tar.bz2 gentoo-2-a24bc541363c1f7bba377b2de7e74b9563395a2b.zip |
Version bump, added initscript and metadata.
Diffstat (limited to 'app-misc/linux-logo/files')
-rw-r--r-- | app-misc/linux-logo/files/digest-linux-logo-4.09 | 1 | ||||
-rw-r--r-- | app-misc/linux-logo/files/linux-logo.conf | 27 | ||||
-rw-r--r-- | app-misc/linux-logo/files/linux-logo.initscript | 19 |
3 files changed, 47 insertions, 0 deletions
diff --git a/app-misc/linux-logo/files/digest-linux-logo-4.09 b/app-misc/linux-logo/files/digest-linux-logo-4.09 new file mode 100644 index 000000000000..913c38d10da7 --- /dev/null +++ b/app-misc/linux-logo/files/digest-linux-logo-4.09 @@ -0,0 +1 @@ +MD5 ba970437da602e1dbb4c244303793cd6 linux_logo-4.09.tar.gz 89161 diff --git a/app-misc/linux-logo/files/linux-logo.conf b/app-misc/linux-logo/files/linux-logo.conf new file mode 100644 index 000000000000..fc7006b60a3c --- /dev/null +++ b/app-misc/linux-logo/files/linux-logo.conf @@ -0,0 +1,27 @@ +# Seq Description Output +# ---------------------------------------------------------------- +# ## # +# #B Bogomips 374.37 +# #C Compiled Date #47 Fri Jan 8 10:37:09 EST 1999 +# #E User Text My Favorite Linux Distribution +# Displayed with -t +# #H Hostname deranged +# #L Load average Load average 0.04, 0.01, 0.01 +# #M Megahertz 188Mhz +# where supported +# #N Number of CPU's Two +# #O OS Name Linux +# #P Processor or Processors Processor +# #R Ram 64M +# in Megabytes +# #S Plural s +# #T Type of CPU K6 +# #U Uptime Uptime 10 hours 59 minutes +# #V Version of OS 2.2.0-pre5 +# #X CPU Vendor AMD +# \\n carriage return + +FORMAT="Gentoo #O `cat /etc/gentoo-release | awk '{ print $5,$6 }'`\n#O #V, Compiled #C\n#N #X #T #M CPU#S, #R RAM, #B Bogomips\n#U\n#H / \l \n" +FORMATNET="Gentoo #O `cat /etc/gentoo-release | awk '{ print $5,$6 }'`\n#O #V, Compiled #C\n#N #X #T #M CPU#S, #R RAM, #B Bogomips\n#U\n#H\n" +OPTIONS="-L 4 -f -u" + diff --git a/app-misc/linux-logo/files/linux-logo.initscript b/app-misc/linux-logo/files/linux-logo.initscript new file mode 100644 index 000000000000..cbdba089f166 --- /dev/null +++ b/app-misc/linux-logo/files/linux-logo.initscript @@ -0,0 +1,19 @@ +#!/sbin/runscript + +start() { + ebegin "Starting linux_logo" + + if [ ! -x /usr/bin/linux_logo ] + then + eerror "ERROR: linux_logo not found !" + return 1 + fi + + ebegin " Creating /etc/issue" + /usr/bin/linux_logo $LOGO $OPTIONS -F "${FORMAT}" > /etc/issue + eend $? " Failed to create /etc/issue" + + ebegin " Creating /etc/issue.net" + /usr/bin/linux_logo $LOGO $OPTIONS -F "${FORMATNET}" > /etc/issue.net + eend $? " Failed to create /etc/issue.net" +} |