Changeset 28907


Ignore:
Timestamp:
2011-11-10T00:29:29+01:00 (6 years ago)
Author:
nico
Message:

packages/vsftpd: use new service functions

Location:
packages/net/vsftpd
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • packages/net/vsftpd/Makefile

    r27443 r28907  
    11# 
    2 # Copyright (C) 2006-2010 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:=vsftpd 
    1111PKG_VERSION:=2.3.4 
    12 PKG_RELEASE:=2 
     12PKG_RELEASE:=3 
    1313 
    1414PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz 
  • packages/net/vsftpd/files/vsftpd.init

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