packages/net/tftp-hpa/files/tftpd-hpa.init
nico 574e9d6533 packages/tftp-hpa: use new service functions
git-svn-id: svn://svn.openwrt.org/openwrt/packages@29074 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-11-13 22:16:16 +00:00

14 lines
221 B
Bash

#!/bin/sh /etc/rc.common
# Copyright (C) 2006-2011 OpenWrt.org
START=50
start() {
mkdir -m 0755 -p /var/tftpd-hpa
service_start /usr/sbin/tftpd-hpa -l -s /var/tftpd-hpa
}
stop() {
service_stop /usr/sbin/tftpd-hpa
}