Changeset 28946


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

packages/bandwidthd: use new service functions

Location:
packages/utils/bandwidthd
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • packages/utils/bandwidthd/Makefile

    r23013 r28946  
    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:=bandwidthd 
    1111PKG_VERSION:=2.0.1 
    12 PKG_RELEASE:=2 
     12PKG_RELEASE:=3 
    1313 
    1414PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tgz 
  • packages/utils/bandwidthd/files/bandwidthd.init

    r23013 r28946  
    11#!/bin/sh /etc/rc.common 
    2 # Copyright (C) 2008 OpenWrt.org 
     2# Copyright (C) 2008-2011 OpenWrt.org 
     3 
    34START=99 
    45 
     
    8081        done 
    8182        cd / 
    82         bandwidthd 
     83        service_start /usr/sbin/bandwidthd 
    8384} 
    8485 
    8586stop() { 
    86         killall bandwidthd 
     87        service_stop /usr/sbin/bandwidthd 
    8788} 
Note: See TracChangeset for help on using the changeset viewer.