Add tftp-hpa (#928)
git-svn-id: svn://svn.openwrt.org/openwrt/packages@5487 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
12
net/tftp-hpa/files/tftpd-hpa.init
Normal file
12
net/tftp-hpa/files/tftpd-hpa.init
Normal 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
|
||||
}
|
Reference in New Issue
Block a user