packages/net/tftp-hpa/files/tftpd-hpa.init

13 lines
149 B
Plaintext
Raw Normal View History

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