Originally Posted by likeapear
Try to add the file /tmp/stupid-ftpd.conf to /usr/local/.files - like :
Code:echo "/tmp/stupid-ftpd.conf >> /usr/local/.files
I want to share some wl-500g system directories via ftp and/or samba. Is it possible without usb disk plugged-in? Tried /usr/sbin/stupid-ftpd, but it requires /tmp/stupid-ftpd.conf (this file is not exists after reboot). /usr/sbin/smbd -D /usr/sbin/nmbd -D doesn't work for me...
PS: Using Oleg's 1.9.2.7-6b firmware
Last edited by likeapear; 09-10-2005 at 18:17.
Originally Posted by likeapear
Try to add the file /tmp/stupid-ftpd.conf to /usr/local/.files - like :
Code:echo "/tmp/stupid-ftpd.conf >> /usr/local/.files
Thank you for reply. But seems to stupid-ftpd is using /tmp/stupid-ftpd.conf as primary configuration file...Originally Posted by macsat
Other question:
Is there any way to set some commands which will be executed after reboot? Sorry for this "easy" question, but I really don't know how to do it. Thanks.
try "stupid-ftp --help"
solution:
(1.)
stupid-ftpd -f /usr/local/.files/stupid-ftpd.conf
or (2.)
set in post-boot :
cp /usr/local/.files/stupid-ftpd.* /tmp/
stupid-ftpd