source:
MondoRescue/branches/2.2.9/mindi-busybox/examples/var_service/tftpd/run
Last change on this file was 3320, checked in by , 9 years ago | |
---|---|
|
|
File size: 197 bytes |
Line | |
---|---|
1 | #!/bin/sh |
2 | |
3 | #exec >/dev/null |
4 | exec 2>&1 |
5 | exec </dev/null |
6 | |
7 | user=root # for bind to port 69 |
8 | |
9 | exec \ |
10 | env - \ |
11 | softlimit \ |
12 | setuidgid "$user" \ |
13 | udpsvd -v -c 10 -l localhost \ |
14 | 0 69 \ |
15 | tftpd /pub/tftpd_root |
Note:
See TracBrowser
for help on using the repository browser.