You are not logged in.

#26 2008-07-19 16:24:57

arew264
Member
From: Friendswood, Texas, US
Registered: 2006-07-01
Posts: 394
Website

Re: I want to know why display core dump when arch starts!

/usr/bin/release:

#!/bin/bash
IFS=`echo -en "\n\b"`
items=( `cat /usr/share/releases` )
echo ${items[$RANDOM % ${#items[*]}]}

(I guess you could say that's four lines, but whatever)

/usr/share/releases:

Homer
Vega
Firefly
Dragon
Nova
Widget
Wombat
Noodle
Gimmick
Voodoo
Duke
Don't Panic
Overlord

Start of  /etc/rc.sysinit:

#!/bin/bash
#
# /etc/rc.sysinit
#

. /etc/rc.conf
. /etc/rc.d/functions

source_functions

echo " "
printhl "Arch Linux $C_OTHER(${C_H2}`/usr/bin/release`$C_OTHER)\n"  <-- this is the line you have to change
printhl "${C_H2}http://www.archlinux.org"
printhl "Copyright 2002-2007 Judd Vinet"
printhl "Copyright 2007-2008 Aaron Griffin"
printhl "Distributed under the GNU General Public License (GPL)"
printsep

EDIT: Yes, I am quite familiar with the Arch rolling release system, but I couldn't think of better filenames, so I left it as release(s).

Last edited by arew264 (2008-07-19 16:28:38)

Offline

#27 2008-07-19 16:46:22

andre.ramaciotti
Member
From: Brazil
Registered: 2007-04-06
Posts: 649

Re: I want to know why display core dump when arch starts!

Thanks!


(lambda ())

Offline

#28 2008-07-19 17:19:29

Barrucadu
Member
From: York, England
Registered: 2008-03-30
Posts: 1,158
Website

Re: I want to know why display core dump when arch starts!

arew264, you gave me an idea. I used your little modification, but came up with parody names for all the releases:

Marge
Lyra
Waterslug
Pidgeon
Star
Button
Sloth
Spaghetti
Device
Black Magic
Peasent
Scream
Segmentation Fault
Hack the Phrak

Last edited by Barrucadu (2008-07-19 17:20:10)

Offline

#29 2008-07-29 04:03:17

arew264
Member
From: Friendswood, Texas, US
Registered: 2006-07-01
Posts: 394
Website

Re: I want to know why display core dump when arch starts!

I like "Hack the Phrak."
That could be a new ISO, PhrakHack!

Offline

#30 2008-07-29 14:47:43

Flying Saxman
Member
From: Northern Hesse
Registered: 2007-02-26
Posts: 252

Re: I want to know why display core dump when arch starts!

but "hacked phrak" just sounds like a *buntu-release!

Offline

#31 2008-07-29 15:12:53

Barrucadu
Member
From: York, England
Registered: 2008-03-30
Posts: 1,158
Website

Re: I want to know why display core dump when arch starts!

Flying Saxman wrote:

but "hacked phrak" just sounds like a *buntu-release!

No, it doesn't alliterate tongue

Offline

#32 2008-07-29 15:26:31

Misfit138
Misfit Emeritus
From: USA
Registered: 2006-11-27
Posts: 4,189

Re: I want to know why display core dump when arch starts!

Barrucadu wrote:
Flying Saxman wrote:

but "hacked phrak" just sounds like a *buntu-release!

No, it doesn't alliterate tongue

Excellent point. Nor does it include a bird or an adjective, btw.

Offline

#33 2008-07-29 17:50:20

Flying Saxman
Member
From: Northern Hesse
Registered: 2007-02-26
Posts: 252

Re: I want to know why display core dump when arch starts!

dammit, never recongized that!

Offline

#34 2008-08-02 04:05:46

arew264
Member
From: Friendswood, Texas, US
Registered: 2006-07-01
Posts: 394
Website

Re: I want to know why display core dump when arch starts!

Wait, you mean these aren't the Ubuntu linux forums?

Offline

#35 2008-08-02 07:08:42

INCSlayer
Member
From: Sweden
Registered: 2007-09-06
Posts: 296
Website

Re: I want to know why display core dump when arch starts!

arew264 wrote:

Wait, you mean these aren't the Ubuntu linux forums?

no this is the open suse forums tongue


dovie andi se tovya sagain

Offline

Board footer

Powered by FluxBB