packages/net/tftp-hpa/files/tftpd-hpa.init
florian 6c866c7bd3 Add tftp-hpa (#928)
git-svn-id: svn://svn.openwrt.org/openwrt/packages@5487 3c298f89-4303-0410-b956-a3cf2f4a3e73
2006-11-09 20:34:59 +00:00

13 lines
149 B
Bash

#!/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
}