Hi.

I compiled stupid-ftpd (http://stupid-ftpd.sourceforge.net/) for use on the empeg. This ftp-Daemon has two advantages when run on the empeg:
1. It does not need a meaningful /etc/passwd
2. It is small (only about 38k stripped)
My archive can be found at: http://www.incase.de/empeg/stupid-ftpd-empeg0.9beta.zip. As far as I could test it, it works as expected (the installation scripts and the daemon itself, that is), except for a minor peeve: It takes about 30 seconds for a filetransfer to start (only RETR command, not LIST or other transfers, maybe also effects STOR command, didn't test that one), and I can't find the reason for this. Maybe someone here would like to check this (the modified source is included in the zip file).
Please test the installation and the daemon itself, I already tested it as good as I could, but there are almost always things I miss.
I would be especially interested in comments on my installation scripts and the modified init script.
I am thinking of rewriting the init script in a way that checks /usr/local/startup-scripts for executable scripts and executes them before entering the player/bash-loop. This would make up for a single (and static) init script and multiple startup-scripts for each extra application that should run on an empeg. By that way, an init script installed with (say) an ftp server (guess which one) would not disable an already existing displayserver init script, but add to it.
(I already took care of displayserver in my script, but what with possible other extensions like a SMB server or something?). Opinions?


cu,
sven
proud MkII owner (12GB blue now green, #080000113)


Attachments
33885-stupid-ftpd-empeg0.9beta1smu.zip (67 downloads)

_________________________
proud owner of MkII 40GB & MkIIa 60GB both lit by God and HiJacked by Lord