Changeset 29050


Ignore:
Timestamp:
2011-11-13T23:15:27+01:00 (6 years ago)
Author:
nico
Message:

packages/netperf: use new service functions

Location:
packages/net/netperf
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • packages/net/netperf/Makefile

    r17883 r29050  
    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:=netperf 
    1111PKG_VERSION:=2.4.5 
    12 PKG_RELEASE:=1 
     12PKG_RELEASE:=2 
    1313 
    1414PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.bz2 
  • packages/net/netperf/files/netserver.init

    r7164 r29050  
    11#!/bin/sh /etc/rc.common 
    2 # Copyright (C) 2006 OpenWrt.org 
     2# Copyright (C) 2006-2011 OpenWrt.org 
     3 
    34START=50 
    45 
    56start() { 
    6         /usr/bin/netserver 
     7        service_start /usr/bin/netserver 
    78} 
    89 
    910stop() { 
    10         killall netserver 
     11        service_stop /usr/bin/netserver 
    1112} 
Note: See TracChangeset for help on using the changeset viewer.