Changeset 30267


Ignore:
Timestamp:
2012-02-05T17:16:01+01:00 (6 years ago)
Author:
jow
Message:

[packages_10.03.2] tftp-hpa: merge r29074

Location:
branches/packages_10.03.2/net/tftp-hpa
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • branches/packages_10.03.2/net/tftp-hpa/Makefile

    r26066 r30267  
    11# 
    2 # Copyright (C) 2006-2009 OpenWrt.org 
     2# Copyright (C) 2006-2011 OpenWrt.org 
    33# 
    44# This is free software, licensed under the GNU General Public License v2. 
     
    1010PKG_NAME:=tftp-hpa 
    1111PKG_VERSION:=0.48 
    12 PKG_RELEASE:=2 
     12PKG_RELEASE:=3 
    1313 
    1414PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz 
  • branches/packages_10.03.2/net/tftp-hpa/files/tftpd-hpa.init

    r7164 r30267  
    11#!/bin/sh /etc/rc.common 
     2# Copyright (C) 2006-2011 OpenWrt.org 
    23 
    34START=50 
    45 
    5 RUN_D=/var/tftpd-hpa 
    6  
    76start() { 
    8         [ -d $RUN_D ] || mkdir -p $RUN_D 
    9         tftpd-hpa -l -s $RUN_D 
     7        mkdir -m 0755 -p /var/tftpd-hpa 
     8        service_start /usr/sbin/tftpd-hpa -l -s /var/tftpd-hpa 
    109} 
    1110 
    1211stop() { 
    13         killall tftpd-hpa 
     12        service_stop /usr/sbin/tftpd-hpa 
    1413} 
Note: See TracChangeset for help on using the changeset viewer.