custom init

Posted by: crazymelki

custom init - 30/07/2001 11:49

Hello,

I am going to upgrade my MK2 with a second HD. Can someone have a look on my custom init and tell me if there is some additional command needed?

#!/bin/sh
PATH=.:/usr/local/bin:/usr/bin:/bin:/usr/local/sbin:/usr/sbin:/sbin:/empeg/bin
PS1=empeg:\\w\\$
/bin/mount -n -o nocheck,rw /proc
/bin/mount -n -o nocheck,ro /dev/hda4 /drive0
/bin/mount -n -o nocheck,ro /dev/hdc4 /drive1
cd /usr/local/displayserver
./displayserver -noauth
/usr/local/bin/stupid-ftpd-arm -f /usr/local/etc/stupid-ftpd.conf
cd /
./empanim 0 122 < anim.ema
/bin/timed &
while [ 1 ] ; do
/drive0/var/pick_list
echo "Press q now to terminate to a shell prompt."
echo
/drive0/var/getkey q && /bin/bash
echo Running Player...
/empeg/bin/player
done

My Kernel hacks is already for 2 disks!

Thanks in advance!


CrazyMelki
Posted by: tfabris

Re: custom init - 30/07/2001 13:40

Those mount commands are the same ones that I'm using on my player for two disks, should be OK.

You're using the RESERVECACHE parameter in your config.ini, right? Whenever you load Bash as part of your init, you need it.

___________
Tony Fabris
Posted by: crazymelki

Re: custom init - 30/07/2001 14:14

Tony,
Thanks for checking my init.

I will have a look! I really don't know! But I read your Info and will check it out. If it's not present, then I will modify it!

Thanks


CrazyMelki
Posted by: crazymelki

Re: custom init - 31/07/2001 10:11

Tony,

I did just add this two lines in the config.ini!

[startup]
reservecache=12

Now I am ready to upgrade with the second HDD form 20GB (1 x 20) to 40GB (2 x 20). I have also my hot melt glue pistole ready ;-)

Thanks.....

CrazyMelki
Posted by: crazymelki

Re: custom init - 08/08/2001 12:46

Hello Tony,

I did successfull install the second HDD! Thanks for the FAQ documentation to your guys! (Tony, Dionysus, DMoore, Rob Kit and Mac)

The only thing I had to reinstall was the zImage.voladj.clock.irhack hack!

But after that everthing is working well!

bye

CrazyMelki