Log in

Bekijk de volledige versie : Another stupid-ftpd problem or am I Stupid?



NTAdmin
16-10-2005, 11:17
Hi,

I don't really understand what's happening here.

I have a stupid-ftpd conf in flash and in post-boot script I run stupid-ftpd -f /usr/local...../stupid-ftpd.conf. Or I just copy the the conf to tmp and run stupid-ftpd with no options, but I always get a home directory not found error.

However, if I login to telnet and type:
killall stupid-ftpd
stupid-ftpd

it runs just fine.

I am thinking it's because at the time post-boot is executed the large 200GB drive is not yet mounted and stupid-ftpd can't find the home dir on it and later when it's mounted I doesn't retry to read the directories like samba does.
Is there a way to set a delay on starting stupid-ftpd from the post-boot, or is this not the problem here?

Thanks

Styno
16-10-2005, 19:56
At the time post-boot is being processed, the USB partitions aren't mounted yet. So you need to place the stupid-ftpd stuff into post-mount script.