816d8d7a66
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
16 lines
210 B
Bash
Executable File
16 lines
210 B
Bash
Executable File
#!/bin/sh
|
|
|
|
#exec >/dev/null
|
|
exec 2>&1
|
|
exec </dev/null
|
|
|
|
user=root # for bind to port 69
|
|
|
|
exec \
|
|
env - PATH="$PATH" \
|
|
softlimit \
|
|
setuidgid "$user" \
|
|
udpsvd -v -c 10 -l localhost \
|
|
0 69 \
|
|
tftpd /pub/tftpd_root
|