diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2017-10-09 18:53:29 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2017-10-09 18:53:29 +0100 |
commit | 4f2d7949f03e1c198bc888f2d05f421d35c57e21 (patch) | |
tree | ba5f07bf3f9d22d82e54a462313f5d244036c768 /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.logo | 39 | ||||
-rw-r--r-- | app-misc/linux-logo/files/gentoo-linux.logo | 82 | ||||
-rw-r--r-- | app-misc/linux-logo/files/linux-logo-5.11.conf | 28 | ||||
-rw-r--r-- | app-misc/linux-logo/files/linux-logo.init.d | 36 | ||||
-rw-r--r-- | app-misc/linux-logo/files/linux-logo.service | 9 | ||||
-rw-r--r-- | app-misc/linux-logo/files/linux_logo_creator | 12 | ||||
-rw-r--r-- | app-misc/linux-logo/files/logo-config | 7 |
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 + + +[0;35;40m . +[0;35;40m .vir. d$b +[0;35;40m .d$$$$$$b. .cd$$b. .d$$b. d$$$$$$$$$$$b .d$$b. .d$$b. +[0;35;40m $$$$( )$$$b d$$$()$$$. d$$$$$$$b Q$$$$$$$P$$$P.$$$$$$$b. .$$$$$$$b. +[0;35;40m Q$$$$$$$$$$B$$$$$$$$P" d$$$PQ$$$$b. $$$$. .$$$P' `$$$ .$$$P' `$$$ +[0;35;40m "$$$$$$$P Q$$$$$$$b d$$$P Q$$$$b $$$$b $$$$b..d$$$ $$$$b..d$$$ +[0;35;40m d$$$$$$P" "$$$$$$$$ Q$$$ Q$$$$ $$$$$ `Q$$$$$$$P `Q$$$$$$$P +[0;37;40m|[0;35;40m $$$$$$$P `""""" "" "" Q$$$P "Q$$$P" "Q$$$P" +[0;37;40m|[0;35;40m `Q$$P" """ +[0;37;40m+--------------------------------------------------------- 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 +[2J[0m[1;47m.....[31m####[37m......................................[31m##[40m +[A[49C[47m#[37m.............................[0m +[1;47m....[31m#######[37m.......................[0;47m [1;31m###[40m +[A[38C[37;47m.........[31m###[37m.............................[0m +[1;47m...[31m###[0;30;47m##[1;31m#####[37m.....................[40m +[A[34C[31;47m####[37m....[31m#############[37m...................[40m +[A[74C[47m.....[0m +[1;47m...[31m####[37m..[31m######[0;30;47m#[1;37m....[31m#####[40m +[A[25C[37;47m........[31m######[37m...[31m#############[37m...[40m +[A[58C[31;47m#####[37m.......[31m#####[37m....[0m +[1;47m...[0;30;47m#[1;31m###########[0;30;47m#[1;37m...[31m######[40m +[A[25C[47m#[37m......[31m####[0;30;47m#[1;31m###[37m...[40m +[A[43C[0;30;47m####[1;31m###[0;30;47m#####[1;37m..[31m#######[40m +[A[64C[37;47m.....[31m#######[37m...[0m +[1;47m....[0;30;47m##[1;31m########[0;30;47m#[1;37m..[31m ##[40m +[A[20C[0;30;47m#[1;37m.[31m####[37m.....[0;47m [1;31m###[40m +[A[35C[0;30;47m#[1;37m.[0;30;47m#[1;31m###[37m......[31m###[40m +[A[50C[0;30;47m#[1;37m....[31m #########[37m...[31m#########[40m +[A[77C[37;47m..[0m +[1;47m......[0;30;47m##[1;31m#####[0;30;47m#[1;37m...[31m########[40m +[A[25C[37;47m......[31m####[0;30;47m#[1;37m..[0;30;47m#[1;31m##[40m +[A[41C[47m#[37m.....[31m###[0;30;47m#[1;37m....[31m###########[40m +[A[66C[37;47m.[31m###########[37m.[0m +[1;47m.......[31m#####[0;30;47m#[1;37m....[31m######[37m........[40m +[A[31C[31;47m###[0;30;47m#[1;37m....[0;30;47m#[1;31m###[37m....[40m +[A[47C[31;47m###[0;30;47m#[1;37m....[31m####[0;30;47m###[1;31m#[40m +[A[63C[47m###[37m.[31m####[0;30;47m###[1;31m####[37m.[0m +[1;47m......[31m#####[0;30;47m#[1;37m.....[31m######[37m.......[40m +[A[30C[31;47m####[0;30;47m#[1;37m.....[0;30;47m#[1;31m###[37m..[40m +[A[46C[47m.[31m###[0;30;47m#[1;37m....[31m####[0;30;47m#[1;37m.[40m +[A[61C[47m.[31m####[37m.[31m####[0;30;47m#[1;37m..[31m####[37m[40m +[A[78C[47m.[0m +[1;47m.....[31m#####[0;30;47m#[1;37m......[31m##########[37m...[40m +[A[30C[31;47m###[0;30;47m#[1;37m.......[0;30;47m#[1;31m###[37m.[40m +[A[46C[47m.[31m###[0;30;47m#[1;37m....[0;30;47m#[1;31m#########[40m +[A[65C[37;47m..[0;30;47m#[1;31m#########[37m..[0m +[1;47m.....[31m####[0;30;47m#[1;37m.......[0;30;47m#[1;31m#######[40m +[A[25C[47m###[37m.[31m####[0;30;47m#[1;37m........[0;30;47m#[40m +[A[43C[1;31;47m###[37m.[31m###[0;30;47m#[1;37m.....[0;30;47m#[40m +[A[57C[1;31;47m#######[37m....[0;30;47m#[1;31m#######[37m...[0m +[1;47m.....[0;30;47m#[1;31m##[0;30;47m#[1;37m.........[0;30;47m#[40m +[A[19C[1;31;47m########[0;30;47m#[1;37m.[31m####[0;30;47m#[40m +[A[34C[1;37;47m........[0;30;47m#[1;31m###[37m.[31m###[0;30;47m[40m +[A[50C[47m#[1;37m......[0;30;47m#[1;31m#####[37m......[0;30;47m#[40m +[A[70C[1;31;47m#####[37m....[0m +[1;47m......[0;30;47m##[1;37m...........[0;30;47m########[37m [1m[40m +[A[28C[47m.[0;47m [30m####[1;37m.........[0;30;47m##[1;37m...[40m +[A[48C[0;30;47m###[1;37m.......[0;30;47m####[1;37m........[40m +[A[70C[0;30;47m####[1;37m.....[0m +[1;47m................................................................[40m +[A[64C[47m...[31m [37m...........[0m +[0m +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 |