You are not logged in.

#1 2008-03-17 04:40:59

Reasons
Member
From: Washington
Registered: 2007-11-04
Posts: 572

/etc/rc.sysint: line 302: [: too many arguments [SOLVED]

That is the message I get when I boot arch. Sometimes it makes the start stop, sometimes I get it and it just keeps on going. The line is

if [ "$TIMEZONE" != "" -a -e /usr/share/zoneinfo/$TIMEZONE ]; then

and the overall section

stat_busy "Configuring System Clock"
if [ ! -f /var/lib/hwclock/adjtime ]; then
    echo "0.0 0 0.0" > /var/lib/hwclock/adjtime
fi
if [ "$TIMEZONE" != "" -a -e /usr/share/zoneinfo/$TIMEZONE ]; then
    /bin/rm -f /etc/localtime
    /bin/cp /usr/share/zoneinfo/$TIMEZONE /etc/localtime
fi
if [ "$HARDWARECLOCK" = "UTC" ]; then
    /sbin/hwclock --directisa --utc --hctosys
else
    /sbin/hwclock --directisa --localtime --hctosys
fi
stat_done

I have tried just changing /etc/rc.conf to UTC but it didn't fix it.

Last edited by Reasons (2008-03-17 13:44:51)

Offline

#2 2008-03-17 06:46:30

gradgrind
Member
From: Germany
Registered: 2005-10-06
Posts: 921

Re: /etc/rc.sysint: line 302: [: too many arguments [SOLVED]

Are you really sure you haven't got a space in your TIMEZONE? That would cause this error.

Offline

#3 2008-03-17 13:44:33

Reasons
Member
From: Washington
Registered: 2007-11-04
Posts: 572

Re: /etc/rc.sysint: line 302: [: too many arguments [SOLVED]

Don't see how I missed that. Thanks.

Offline

#4 2008-03-17 16:35:49

phrakture
Arch Overlord
From: behind you
Registered: 2003-10-29
Posts: 7,879
Website

Re: /etc/rc.sysint: line 302: [: too many arguments [SOLVED]

Thanks, I fixed this so it won't error like that again.

http://projects.archlinux.org/git/?p=in … cb1d419dd5

Offline

Board footer

Powered by FluxBB