Yi4k+ after boot start ftp

_perry

New Member
Joined
Apr 25, 2019
Messages
1
Reaction score
0
Country
Switzerland
Hello,

I trie to start the ftp-server on the camera after boot.

autoexec.ash

Code:
t ipc rpc clnt exec1 '/tmp/fuse_d/ftp.sh'

ftp.sh
Code:
#!/bin/sh
#create file to test if ftp.sh is execute
touch /tmp/fuse_d/allout.txt
#start ftp
tcpsvd -u root -vE 0.0.0.0 21 ftpd /tmp >/dev/null 2>&1
The file will be created, the FTP server will not start


What works

to start the the ftp-server by terminal
Code:
telnet 192.168.42.1
tcpsvd -u root -vE 0.0.0.0 21 ftpd /tmp
Anybody know how to start the ftp after boot ?


greetings _perry
 
Top