You are not logged in.
Pages: 1
That said, running /sbin/bootchartd init in the console gave me this:
cpf / $ sudo /sbin/bootchartd init
Starting bootchart logging
cpf / $ /sbin/bootchartd: line 124: [: 3
5: integer expression expected
So, I'm a noob with bash scripts, these are the related lnes:
123| grep -q early_login /proc/cmdline && early_login="yes"
124| if [ "$runlevel" -eq "2" -o "$runlevel" -eq "3" -o "$early_login" = "yes" ]; then
125| exit_proc="mingetty agetty rungetty getty"
126| fi
<< The second line is line 124
Is this normal? Or could this be the reason why after booting with
# (2) Arch Linux - bootchart
title Arch Linux BOOTCHART
root (hd0,0)
kernel /vmlinuz26 root=/dev/sda3 ro vga=773 init=/sbin/bootchartd
initrd /kernel26.img
didn't give me any data for bootchart-render to use?
Thanks in advance...
My coding blog (or an attempt at it)
Archer start page (or an attempt at it)
Offline
I had the same problem, take a look at this thread
http://bbs.archlinux.org/viewtopic.php?id=49252
note that this
/sbin/bootchartd: line 124: [: 3
5: integer expression expected
is not a problem
bye
Offline
i notice that bootchart-render will work only if some graphical login will start.
Give what you have. To someone, it may be better than you dare to think.
Offline
@wonder:
look at my least post in the linked thread, I succeed in using it with my autologin from terminal
Last edited by _Marco_ (2008-06-07 21:06:20)
Offline
I had the same problem, take a look at this thread
http://bbs.archlinux.org/viewtopic.php?id=49252note that this
/sbin/bootchartd: line 124: [: 3 5: integer expression expected
is not a problem
bye
Thanks a lot, that link helped (Couldn't find it on searching though... >.>)
My coding blog (or an attempt at it)
Archer start page (or an attempt at it)
Offline
Glad to have been of help
Offline
I have found a patch for
/sbin/bootchartd: line 124: [: 3
5: integer expression expected
There is a commented #id:5:initdefault: in the default /etc/inittab file which is matched by sed together with the apropriate initdefault line. All you have to do is change line 117 in /sbin/bootchartd from
local runlevel=$( sed -n 's/.*:\(.*\):initdefault:.*/\1/gp' /etc/inittab )
to
local runlevel=$( sed -n 's/^id:\([0-9]\):initdefault:.*/\1/gp' /etc/inittab )
cheers
Offline
sweet. thanks a lot jarda-wien.
Offline
sweet. thanks a lot jarda-wien.
you're welcome!
Offline
Pages: 1