Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
syntax error in rc-daemon.sh
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Duplicate Threads
View previous topic :: View next topic  
Author Message
gentoodru
n00b
n00b


Joined: 12 Dec 2005
Posts: 5

PostPosted: Mon Dec 12, 2005 11:03 am    Post subject: syntax error in rc-daemon.sh Reply with quote

After reiserfsck --rebuid-tree of my root partition i get this syntax error when I execute a initscript:

sudo /etc/init.d/net.eth0 start
/lib/rcscripts/sh/rc-daemon.sh: line 328: syntax error near unexpected token `('
/lib/rcscripts/sh/rc-daemon.sh: line 328: ` local -a RC_DAEMONS=() RC_PIDFILES=()'
./net.eth0: line 286: syntax error near unexpected token `('
./net.eth0: line 286: ` local -a provide=() provide_list=() after=() dead=() sorted=() sortedp=()'

I remerged svinit and baselayout without success...

Maybe someone can help me
Thx
Back to top
View user's profile Send private message
memborg
Tux's lil' helper
Tux's lil' helper


Joined: 16 Jun 2003
Posts: 121
Location: Aalborg, Denmark

PostPosted: Mon Dec 12, 2005 11:51 am    Post subject: Reply with quote

downgrade bash. This would help... bash 3.1 is messing things up :)

As explained her: https://forums.gentoo.org/viewtopic-t-411577-highlight-rcscripts.html
_________________
The Penguin Credo: Never Swim Alone
Back to top
View user's profile Send private message
Maedhros
Bodhisattva
Bodhisattva


Joined: 14 Apr 2004
Posts: 5511
Location: Durham, UK

PostPosted: Mon Dec 12, 2005 3:02 pm    Post subject: Reply with quote

Moved from Other Things Gentoo to Duplicate Threads in favour of bash-3.1 - Don't go in the water!
_________________
No-one's more important than the earthworm.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Duplicate Threads All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum