Changeset 28912


Ignore:
Timestamp:
2011-11-10T00:43:25+01:00 (5 years ago)
Author:
nico
Message:

packages/arpwatch: use new service functions

Location:
packages/net/arpwatch
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • packages/net/arpwatch/Makefile

    r20080 r28912  
    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:=arpwatch 
    1111PKG_VERSION:=2.1a15 
    12 PKG_RELEASE:=2 
     12PKG_RELEASE:=3 
    1313 
    1414PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz 
  • packages/net/arpwatch/files/arpwatch.init

    r18973 r28912  
    11#!/bin/sh /etc/rc.common 
     2# Copyright (C) 2006-2011 OpenWrt.org 
     3 
    24START=90 
    35 
    4 start () { 
    5         arpwatch -f /etc/arpwatch/arp.dat -i br-lan 
     6start() { 
     7        service_start /usr/sbin/arpwatch -f /etc/arpwatch/arp.dat -i br-lan 
    68} 
    79 
    810stop() { 
    9         killall arpwatch 
     11        service_stop /usr/sbin/arpwatch 
    1012} 
Note: See TracChangeset for help on using the changeset viewer.