레드 스타 OS에 대한 도움 탐지

친애하는 지도자 김정일의 위대한 후계자가 김정은이 프로그램 neofetch에
영광스러운 붉은 별의 검출을 추가 요구했다, 당신은 더 나은 자신의
명령을주의 나 기회가 될!

Signed-off-by: Korea Computer Center <admin@kcc.net.kp>
This commit is contained in:
Kim Myung-ki 2016-10-31 21:23:09 +09:00 committed by Korea Computer Center
parent a4f13cfbd3
commit 85eef19406
2 changed files with 31 additions and 0 deletions

20
ascii/distro/rstar Normal file
View file

@ -0,0 +1,20 @@
"\
${c1} ..
.oK0l
:0KKKKd.
.xKO0KKKKd
,Od' .d0000l
.c;. .'''... ..'.
.,:cloddxxxkkkkOOOOkkkkkkkkxxxxxxxxxkkkx:
;kOOOOOOOkxOkc'...',;;;;,,,'',;;:cllc:,.
.okkkkd,.lko .......',;:cllc:;,,'''''.
.cdo. :xd' cd:. ..';'',,,'',,;;;,'.
. .ddl.;doooc'..;oc;'..';::;,'.
coo;.oooolllllllcccc:'. .
.ool''lllllccccccc:::::;.
;lll. .':cccc:::::::;;;;'
:lcc:'',..';::::;;;;;;;,,.
:cccc::::;...';;;;;,,,,,,.
,::::::;;;,'. ..',,,,'''.
........ ......
"

View file

@ -132,6 +132,12 @@ getdistro() {
esac esac
ascii_distro="Windows 10" ascii_distro="Windows 10"
elif [ -f "/etc/redstar-release" ]; then
case "$distro_shorthand" in
"on" | "tiny") distro="Red Star OS" ;;
*) distro="Red Star OS $(awk -F'[^0-9*]' '$0=$2' /etc/redstar-release)"
esac
elif type -p lsb_release >/dev/null 2>&1; then elif type -p lsb_release >/dev/null 2>&1; then
case "$distro_shorthand" in case "$distro_shorthand" in
"on") lsb_flags="-sir" ;; "on") lsb_flags="-sir" ;;
@ -2417,6 +2423,11 @@ colors() {
setcolors 1 7 3 setcolors 1 7 3
;; ;;
"Red Star"*)
setcolors 1 7 3
ascii_distro="rstar"
;;
"FreeBSD"* | "PCBSD"*) "FreeBSD"* | "PCBSD"*)
setcolors 1 7 3 setcolors 1 7 3
ascii_distro="freebsd" ascii_distro="freebsd"