summaryrefslogtreecommitdiff
path: root/app-misc/linux-logo/files
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2017-10-09 18:53:29 +0100
committerV3n3RiX <venerix@redcorelinux.org>2017-10-09 18:53:29 +0100
commit4f2d7949f03e1c198bc888f2d05f421d35c57e21 (patch)
treeba5f07bf3f9d22d82e54a462313f5d244036c768 /app-misc/linux-logo/files
reinit the tree, so we can have metadata
Diffstat (limited to 'app-misc/linux-logo/files')
-rw-r--r--app-misc/linux-logo/files/gentoo-alt.logo39
-rw-r--r--app-misc/linux-logo/files/gentoo-linux.logo82
-rw-r--r--app-misc/linux-logo/files/linux-logo-5.11.conf28
-rw-r--r--app-misc/linux-logo/files/linux-logo.init.d36
-rw-r--r--app-misc/linux-logo/files/linux-logo.service9
-rw-r--r--app-misc/linux-logo/files/linux_logo_creator12
-rw-r--r--app-misc/linux-logo/files/logo-config7
7 files changed, 213 insertions, 0 deletions
diff --git a/app-misc/linux-logo/files/gentoo-alt.logo b/app-misc/linux-logo/files/gentoo-alt.logo
new file mode 100644
index 000000000000..f60430dade98
--- /dev/null
+++ b/app-misc/linux-logo/files/gentoo-alt.logo
@@ -0,0 +1,39 @@
+# Gentoo Logo
+# Added by James Rowe <Jay@jnrowe.uklinux.net>
+# Assigned to Gentoo Foundation under GPL2
+
+SYSINFO_POSITION bottom
+
+NAME gentoo-alt
+
+DESCRIPTION_STRING Gentoo Linux Logo
+
+BEGIN_LOGO
+
+
+ .
+ .vir. d$b
+ .d$$$$$$b. .cd$$b. .d$$b. d$$$$$$$$$$$b .d$$b. .d$$b.
+ $$$$( )$$$b d$$$()$$$. d$$$$$$$b Q$$$$$$$P$$$P.$$$$$$$b. .$$$$$$$b.
+ Q$$$$$$$$$$B$$$$$$$$P" d$$$PQ$$$$b. $$$$. .$$$P' `$$$ .$$$P' `$$$
+ "$$$$$$$P Q$$$$$$$b d$$$P Q$$$$b $$$$b $$$$b..d$$$ $$$$b..d$$$
+ d$$$$$$P" "$$$$$$$$ Q$$$ Q$$$$ $$$$$ `Q$$$$$$$P `Q$$$$$$$P
+| $$$$$$$P `""""" "" "" Q$$$P "Q$$$P" "Q$$$P"
+| `Q$$P" """
++--------------------------------------------------------- l i n u x
+END_LOGO
+
+BEGIN_ASCII_LOGO
+
+
+ .
+ .vir. d$b
+ .d$$$$$$b. .cd$$b. .d$$b. d$$$$$$$$$$$b .d$$b. .d$$b.
+ $$$$( )$$$b d$$$()$$$. d$$$$$$$b Q$$$$$$$P$$$P.$$$$$$$b. .$$$$$$$b.
+ Q$$$$$$$$$$B$$$$$$$$P" d$$$PQ$$$$b. $$$$. .$$$P' `$$$ .$$$P' `$$$
+ "$$$$$$$P Q$$$$$$$b d$$$P Q$$$$b $$$$b $$$$b..d$$$ $$$$b..d$$$
+ d$$$$$$P" "$$$$$$$$ Q$$$ Q$$$$ $$$$$ `Q$$$$$$$P `Q$$$$$$$P
+| $$$$$$$P `""""" "" "" Q$$$P "Q$$$P" "Q$$$P"
+| `Q$$P" """
++--------------------------------------------------------- l i n u x
+END_ASCII_LOGO
diff --git a/app-misc/linux-logo/files/gentoo-linux.logo b/app-misc/linux-logo/files/gentoo-linux.logo
new file mode 100644
index 000000000000..73581f001eb5
--- /dev/null
+++ b/app-misc/linux-logo/files/gentoo-linux.logo
@@ -0,0 +1,82 @@
+# Gentoo Linux logo
+# Drawn by Harri Hautakangas
+# Assigned to Gentoo Foundation under GPL2
+
+SYSINFO_POSITION bottom
+
+NAME gentoo
+
+DESCRIPTION_STRING Gentoo Logo
+
+BEGIN_LOGO
+.....####......................................##
+#.............................
+....#######....................... ###
+.........###.............................
+...##########.....................
+####....#############...................
+.....
+...####..#######....#####
+........######...#############...
+#####.......#####....
+...#############...######
+#......########...
+############..#######
+.....#######...
+....###########.. ##
+#.####..... ###
+#.####......###
+#.... #########...#########
+..
+......########...########
+......#####..###
+#.....####....###########
+.###########.
+.......######....######........
+####....####....
+####....########
+###.###########.
+......######.....######.......
+#####.....####..
+.####....#####.
+.####.#####..####
+.
+.....######......##########...
+####.......####.
+.####....##########
+..##########..
+.....#####.......########
+###.#####........#
+###.####.....#
+#######....########...
+.....####.........#
+#########.#####
+........####.###
+#......######......#
+#####....
+......##...........######## 
+. ####.........##...
+###.......####........
+####.....
+................................................................
+... ...........
+
+END_LOGO
+
+BEGIN_ASCII_LOGO
+.....####......................................###.............................
+....#######....................... ###.........###.............................
+...##########.....................####....#############........................
+...####..#######....#####........######...#############...#####.......#####....
+...#############...#######......########...############..#######.....#######...
+....###########.. ###.####..... ####.####......####.... #########...#########..
+......########...########......#####..####.....####....###########.###########.
+.......######....######........####....####....####....###########.###########.
+......######.....######.......#####.....####...####....#####..####.#####..####.
+.....######......##########...####.......####..####....##########..##########..
+.....#####.......###########.#####........####.####.....########....########...
+.....####.........##########.#####........####.####......######......######....
+......##...........######## . ####.........##...###.......####........####.....
+................................................................... ...........
+
+END_ASCII_LOGO
diff --git a/app-misc/linux-logo/files/linux-logo-5.11.conf b/app-misc/linux-logo/files/linux-logo-5.11.conf
new file mode 100644
index 000000000000..355ebc5cc089
--- /dev/null
+++ b/app-misc/linux-logo/files/linux-logo-5.11.conf
@@ -0,0 +1,28 @@
+# 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
+
+LOGO="-L gentoo"
+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="-f -u"
+
diff --git a/app-misc/linux-logo/files/linux-logo.init.d b/app-misc/linux-logo/files/linux-logo.init.d
new file mode 100644
index 000000000000..68a6700aec1e
--- /dev/null
+++ b/app-misc/linux-logo/files/linux-logo.init.d
@@ -0,0 +1,36 @@
+#!/sbin/openrc-run
+
+ISSUE_BACKUP_FILE="/etc/issue.linux-logo.backup"
+ISSUE_NET_BACKUP_FILE="/etc/issue.net.linux-logo.backup"
+
+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"
+ cp /etc/issue ${ISSUE_BACKUP_FILE} 2> /dev/null
+ /usr/bin/linux_logo ${LOGO} ${OPTIONS} -F "${FORMAT}" > /etc/issue
+ eend $? " Failed to create /etc/issue"
+
+ if [ -f /etc/issue.net ]
+ then
+ ebegin " Creating /etc/issue.net"
+ cp /etc/issue.net ${ISSUE_NET_BACKUP_FILE} 2> /dev/null
+ /usr/bin/linux_logo ${LOGO} ${OPTIONS} -F "${FORMATNET}" > \
+ /etc/issue.net
+ eend $? " Failed to create /etc/issue.net"
+ fi
+}
+
+stop() {
+ ebegin "Stopping linux_logo"
+ [ -f ${ISSUE_NET_BACKUP_FILE} ] && \
+ mv ${ISSUE_NET_BACKUP_FILE} /etc/issue.net 2> /dev/null
+ [ -f ${ISSUE_BACKUP_FILE} ] && \
+ mv ${ISSUE_BACKUP_FILE} /etc/issue 2> /dev/null
+}
diff --git a/app-misc/linux-logo/files/linux-logo.service b/app-misc/linux-logo/files/linux-logo.service
new file mode 100644
index 000000000000..658d7103c5e9
--- /dev/null
+++ b/app-misc/linux-logo/files/linux-logo.service
@@ -0,0 +1,9 @@
+[Unit]
+Description=linux-logo-creator
+After=systemd-user-sessions.service
+
+[Service]
+ExecStart=/usr/bin/linux_logo_creator
+
+[Install]
+WantedBy=logo.target
diff --git a/app-misc/linux-logo/files/linux_logo_creator b/app-misc/linux-logo/files/linux_logo_creator
new file mode 100644
index 000000000000..5acc2fd5b85b
--- /dev/null
+++ b/app-misc/linux-logo/files/linux_logo_creator
@@ -0,0 +1,12 @@
+#!/bin/bash
+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 2 -f -u"
+OPTIONSNET="-L 2 -f -u -a "
+
+# FORMAT="Gentoo Linux `cat /etc/gentoo-release | awk '{ print $5,$6 }'`"
+# /usr/bin/linux_logo -L 2 -f -u
+
+/usr/bin/linux_logo ${LOGO} ${OPTIONS} -F "${FORMAT}" > /etc/issue
+/usr/bin/linux_logo ${LOGO} ${OPTIONSNET} -F "${FORMATNET}" > /etc/issue.net
+
diff --git a/app-misc/linux-logo/files/logo-config b/app-misc/linux-logo/files/logo-config
new file mode 100644
index 000000000000..68ce395cf5ec
--- /dev/null
+++ b/app-misc/linux-logo/files/logo-config
@@ -0,0 +1,7 @@
+./logos/gentoo-linux.logo
+./logos/gentoo-alt.logo
+./logos/banner-simplified.logo
+./logos/banner.logo
+./logos/classic-no_periods.logo
+./logos/classic-no_periods_or_chars.logo
+./logos/classic.logo