mirror of
https://github.com/topjohnwu/ndk-busybox.git
synced 2024-12-13 23:08:53 +00:00
f5c2f72917
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
18 lines
207 B
Bash
Executable File
18 lines
207 B
Bash
Executable File
#!/bin/sh
|
|
|
|
#exec >/dev/null
|
|
exec 2>&1
|
|
exec </dev/null
|
|
|
|
user=www
|
|
user=root
|
|
|
|
exec \
|
|
env - PATH="$PATH" \
|
|
softlimit \
|
|
tcpsvd \
|
|
-vE -l 0 -c 40 \
|
|
0.0.0.0 21 \
|
|
setuidgid "$user" \
|
|
ftpd -vv -t10 /pub/ftpd_root
|