OESF Portables Forum
Model Specific Forums => Sharp Zaurus => Zaurus - pdaXrom => Topic started by: patsch on June 29, 2006, 05:25:35 am
-
hi together
beta4 works allredy great... compared with openzaurs 3.5.4.1-rc4 with 2.6.16'er kernel : )
i need an autologin and i'm not shure if it's possible just to tune the /etc/inittab somehow, without running rungetty or mingetty... ??
because i don't have these programs...
and i can't crosscompille : (
after the autologin, zaurus should start mplayer with some options from the console. but i don't find an .bashrc or an .profile. where can i start automaticly a script after the login?
-
jau the first step is done
i've downloaded from deb old stable (http://packages.debian.org/oldstable/admin/rungetty) the arm package... copied to /sbin/...
then i changed the /etc/inittab to:
1:2:respawn:/sbin/rungetty tty1 --autologin root
ln:345:respawn:/sbin/rungetty tty1 --autologin root
and restart : )
-
now the end of my /etc/init.d looks like this:
#1:2:respawn:/sbin/getty 9600 tty1
#ln:345:respawn:/sbin/getty 9600 tty1
#qt:5:respawn:/sbin/qt
# collie sp.
#sy::respawn:/sbin/shsync
1:2345:respawn:/sbin/rungetty --autologin root tty1
2:5:respawn:/sbin/getty 38400 tty2
3:5:respawn:/sbin/getty 38400 tty3
4:5:respawn:/sbin/getty 38400 tty4
5:5:respawn:/sbin/getty 38400 tty5
6:5:respawn:/sbin/getty 38400 tty6
the strange thing is, that rungetty makes strange things when there is a .bashrc or something more in the /etc/profile
but why???
i tried so many things with rungetty, but i can not start a program : (°
has anybody an idea????
-
the rungetty i used is an old one... so perhaps that's why. has anybody an nice link to an introducing how to crosscompile for pdaxrom1.1.0beta4??
now i just worte a new init script and putted in /etc/rc.d/rc5.d as S95mplayer
and it works : )
some lines from S95mplayer:
start() {
setfl 30 #set screen brightness
clear
mplayer -vo fbdev -fs -loop 0 -quiet /mnt/cf/output.mov
}