Add tftp-hpa (#928)

git-svn-id: svn://svn.openwrt.org/openwrt/packages@5487 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
florian
2006-11-09 20:34:59 +00:00
parent 480b4c834b
commit 6c866c7bd3
2 changed files with 71 additions and 0 deletions

View File

@ -0,0 +1,12 @@
#!/bin/sh /etc/rc.common
RUN_D=/var/tftpd-hpa
start() {
[ -d $RUN_D ] || mkdir -p $RUN_D
tftpd-hpa -l -s $RUN_D
}
stop() {
killall tftpd-hpa
}