You are not logged in.

#1 2011-04-14 10:34:30

theguzz
Member
Registered: 2009-07-25
Posts: 26

[solved] syntax error in /etc/conf.d/splash

hey guys,

as the topic says I habe a syntax error in /etc/conf.d/splash. On boot I get the following message:

/intit: /etc/conf.d/splash: line 33: syntax error: unexpected "(" (expecting ")")

tried to find out what it is but I'm stuck now. Here is the file:

#
# /etc/conf.d/splash
#

####  initcpio and Fbsplash daemon  ##########################################

## Themes to include into initcpio
## For a smaller initcpio you may try theme cfg files instead of directories.
SPLASH_THEMES="
    arch-black-spin
"

## Override the initial silent splash screen status message defaults.
## Note: '$progress' will be replaced by Fbsplash itself.
## * initcpio - (no effect with fbcondecor kernel)
SPLASH_INIT_MESSAGE="Initializing the kernel"
## * bootup
SPLASH_BOOT_MESSAGE="Booting '$HOSTNAME' (\$progress%)"
## * reboot
SPLASH_REBOOT_MESSAGE="Rebooting '$HOSTNAME' (\$progress%)"
## * shutdown
SPLASH_SHUTDOWN_MESSAGE="Shutting down '$HOSTNAME' (\$progress%)"

## To show animations early, include the Fbsplash daemon (1.5 MiB) into initcpio, too,
## instead of the small helper only.
## Note: Themes with 'scripts/rc_init-pre' like 'arch-banner-icons' are not supported.
SPLASH_DAEMON="early"

## Make the splash daemon use fade effects.
## Note: The initcpio helper does only use the kernel parameter!
SPLASH_EFFECTS="fadein,fadeout"
## Uggly hack to get that in from the kernel line :p
#SPLASH_EFFECTS=$(e=();IFS=',';for w in $splash;do [[ $w == fade* ]]&&e+=($w);done;echo "${e[*]}")

## Enable the textbox when starting the Fbsplash daemon.
## Useful if the theme provides a message log or other textbox.
## The scripts write any initscripts [FAIL] messages to the log.
## Note: The textbox can also be toggled by pressing F3-key.
SPLASH_TEXTBOX="yes"

## Splash progress timeout
## If set to a positive value, Fbsplash will automatically switch to verbose
## mode if there is no progress for the specified number of seconds.
SPLASH_AUTOVERBOSE=0

####  scripts behaviour  #####################################################


## Change to verbose mode on any initscripts [FAIL] message
## Useful with very simple themes and also when starting Xorg from DAEMONS
SPLASH_VERBOSE_ON_ERRORS="yes"

## Name of the DAEMONS script starting Xorg if any
## Set this to avoid virtual terminal change struggle between Xorg and Fbsplash.
#SPLASH_XSERVICE="gdm"
#SPLASH_XSERVICE="kdm"
#SPLASH_XSERVICE="xdm"
#SPLASH_XSERVICE="lxdm"
#SPLASH_XSERVICE="slim"

## Push initscripts [BUSY] messages to the splash status message line.
SPLASH_PUSH_MESSAGES="no"

# EOF #

Last edited by theguzz (2011-04-14 19:29:21)

Offline

#2 2011-04-14 14:38:34

theguzz
Member
Registered: 2009-07-25
Posts: 26

Re: [solved] syntax error in /etc/conf.d/splash

I should mention that I also deleted the line

#SPLASH_EFFECTS=$(e=();IFS=',';for w in $splash;do [[ $w == fade* ]]&&e+=($w);done;echo "${e[*]}")

since i don't really need it.

After a rebeoot the error still persists...

What is my fault?

Offline

#3 2011-04-14 19:28:30

theguzz
Member
Registered: 2009-07-25
Posts: 26

Re: [solved] syntax error in /etc/conf.d/splash

well... got it!

mkinitcpio -p kernel26

does the magic!

Offline

Board footer

Powered by FluxBB