blob: ceb2be555f6a0247285916468f8d9f8d46806468 [file] [log] [blame]
Denys Vlasenkoc3896852009-11-08 18:41:26 +01001#!/bin/sh
2
3#exec >/dev/null
4exec 2>&1
5exec </dev/null
6
7user=root # for bind to port 69
8
9exec \
Denys Vlasenko816d8d72018-04-16 21:48:32 +020010env - PATH="$PATH" \
Denys Vlasenkoc3896852009-11-08 18:41:26 +010011softlimit \
12setuidgid "$user" \
13udpsvd -v -c 10 -l localhost \
14 0 69 \
15tftpd /pub/tftpd_root