source: packages/net/tftp-hpa/files/tftpd-hpa.init @ 7164

Last change on this file since 7164 was 7164, checked in by mbm, 10 years ago

START/STOP values must be specified in the init script

  • Property svn:eol-style set to native
File size: 159 bytes
Line 
1#!/bin/sh /etc/rc.common
2
3START=50
4
5RUN_D=/var/tftpd-hpa
6
7start() {
8        [ -d $RUN_D ] || mkdir -p $RUN_D
9        tftpd-hpa -l -s $RUN_D
10}
11
12stop() {
13        killall tftpd-hpa
14}
Note: See TracBrowser for help on using the repository browser.