You are not logged in.
/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
Thanks!
(lambda ())
Offline
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
I like "Hack the Phrak."
That could be a new ISO, PhrakHack!
Offline
but "hacked phrak" just sounds like a *buntu-release!
now with 80% more sax-appeal!
"I hacked the Phrak, and all I got was this lousy signature"
Offline
but "hacked phrak" just sounds like a *buntu-release!
No, it doesn't alliterate
Offline
Flying Saxman wrote:but "hacked phrak" just sounds like a *buntu-release!
No, it doesn't alliterate
Excellent point. Nor does it include a bird or an adjective, btw.
Offline
dammit, never recongized that!
now with 80% more sax-appeal!
"I hacked the Phrak, and all I got was this lousy signature"
Offline
Wait, you mean these aren't the Ubuntu linux forums?
Offline
Wait, you mean these aren't the Ubuntu linux forums?
no this is the open suse forums
dovie andi se tovya sagain
Offline