You are not logged in.

#1 2007-11-18 23:14:23

GojaN
Member
Registered: 2007-11-09
Posts: 13

Lend me your rc.conf

I write a C++ code to parse/generate rc.conf files but it's need testing.

If you post your rc.conf you are help my too much smile

Thanks! big_smile

Offline

#2 2007-11-19 00:10:18

adekoba
Member
Registered: 2007-07-10
Posts: 128
Website

Re: Lend me your rc.conf


abcdefghijklmnopqrstuvwxyz

Offline

#3 2007-11-19 01:28:44

rson451
Member
From: Annapolis, MD USA
Registered: 2007-04-15
Posts: 1,233
Website

Re: Lend me your rc.conf


archlinux - please read this and this — twice — then ask questions.
--
http://rsontech.net | http://github.com/rson

Offline

#4 2007-11-19 03:23:05

iphitus
Forum Fellow
From: Melbourne, Australia
Registered: 2004-10-09
Posts: 4,927

Re: Lend me your rc.conf

http://pastebin.archlinux.org/19798
thats one of mine, the other one isnt too different.

Networks? That's from netcfg2, the available networks are found as text files in /etc/network.d/

Last edited by iphitus (2007-11-19 03:24:11)

Offline

#5 2007-11-19 04:56:47

hacosta
Member
From: Mexico
Registered: 2006-10-22
Posts: 423

Re: Lend me your rc.conf

mine doesn't do it but you should also check things like


SOME_DAEMONS=(foo bar)
DAEMONS=(some random daemon $SOME_DAEMONS )

Offline

#6 2007-11-19 07:33:59

NoOneImportant
Member
From: Deep Southern California
Registered: 2007-02-13
Posts: 178

Re: Lend me your rc.conf

Offline

#7 2007-11-19 21:52:14

elasticdog
Member
From: Washington, USA
Registered: 2005-05-02
Posts: 995
Website

Re: Lend me your rc.conf

Offline

#8 2007-11-20 00:29:09

GojaN
Member
Registered: 2007-11-09
Posts: 13

Re: Lend me your rc.conf

Firsto of all, thanks all of you big_smile !!!

SOME_DAEMONS=(foo bar)
DAEMONS=(some random daemon $SOME_DAEMONS )

O_o

I never see something like that, but if you show me one of this things thats works I must change all my app sad

Offline

#9 2007-11-20 02:41:00

hacosta
Member
From: Mexico
Registered: 2006-10-22
Posts: 423

Re: Lend me your rc.conf

@GojaN
check out comment #18 on this thread
http://bbs.archlinux.org/viewtopic.php?id=27605

Offline

#10 2007-11-20 08:17:27

Nihathrael
Member
From: Freising, Germany
Registered: 2007-10-21
Posts: 82
Website

Re: Lend me your rc.conf

http://pastebin.archlinux.org/19852

Here's mine, if you still need one!


Unknown Horizons - Open source real-time strategy game with the comfy Anno 1602 feeling!

Offline

#11 2007-11-20 09:52:04

GojaN
Member
Registered: 2007-11-09
Posts: 13

Re: Lend me your rc.conf

DSYS="@syslog-ng @acpid @clamav @crond @cups @sensors @smartd"
DNET="network @iptables @httpd @openntpd portmap @sshd"
DMAIL="fam authdaemond @courier-imap @postfix"
DMISC="@alsa @bluetooth dbus hal @hplip @gpm"
DAEMONS=(${DSYS} ${DNET} ${DMAIL} ${DMISC})

.....ok Im owned ¬¬

I must reorganize some things and evaluate the impact of this F***N GOD DA*** SON OF A B**** option on my code....

Thanks any way =/

Offline

#12 2007-11-20 14:07:38

byte
Member
From: Düsseldorf (DE)
Registered: 2006-05-01
Posts: 2,046

Re: Lend me your rc.conf

What for? You could never account for all possible variants... this is Bash syntax, after all.
Simply continue whatever you intended, such edge cases are best left for later.


1000

Offline

#13 2007-11-20 16:40:08

Maki
Member
From: Skopje, Macedonia
Registered: 2007-10-16
Posts: 353
Website

Re: Lend me your rc.conf


If it ain't broke, broke it then fix it.

Offline

#14 2007-11-21 03:10:55

GojaN
Member
Registered: 2007-11-09
Posts: 13

Re: Lend me your rc.conf

byte wrote:

Simply continue whatever you intended, such edge cases are best left for later.

Yes!! I will do!!

The problem is that it's allmost done...
Any wat, as you say, it's bash syntax so the solution will not be to complicated.......i hope

Offline

Board footer

Powered by FluxBB