CappyCaffeine
Group: Members
Posts: 64
Joined: Jan. 2004 |
|
Posted: Mar. 06 2004,17:01 |
|
Hi all. Been reading this thread and I think what you really want to do it add the following lines to /opt/bootlocal.sh
mount /mnt/hda1
(or whatever partition you want to mount on boot)
I wanted my damnsmall box to be able to mount a vfat partition and then run monkey web server without having to login as a user. the Server_root is on the vfat partition. I did not want to mess around with knoppix-autoconfig or the fstab regenerating script and all that, so I simply put the above line in /opt/bootlocal.sh and the following to run the web server:
./opt/monkey/bin/banana start
So, /mnt/hda1 is mounted and monkey is started by the time you get to the login: prompt
This is handy if somebody reboots the machine for some fool reason, and saves memory by not requiring you to run X.
BTW: my box is also running as a samba server. Apt-Get was great at installing samba and swat... Sweet!
Hope this helps!
Cappy
|