From 11e83c69281842975db5c49664f20c1c2d08441a Mon Sep 17 00:00:00 2001 From: Alex Samorukov Date: Wed, 8 Apr 2015 17:07:52 +0000 Subject: apinger: add apinger package Alarm Pinger (apinger) is a little tool which monitors various IP devices by simple ICMP echo requests. There are various other tools, that can do this, but most of them are shell or perl scripts, spawning many processes, thus much CPU-expensive, especially when one wants continuous monitoring and fast response on target failure. Signed-off-by: Alex Samorukov --- net/apinger/files/apinger.init | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 net/apinger/files/apinger.init (limited to 'net/apinger/files/apinger.init') diff --git a/net/apinger/files/apinger.init b/net/apinger/files/apinger.init new file mode 100644 index 000000000..8caac3869 --- /dev/null +++ b/net/apinger/files/apinger.init @@ -0,0 +1,18 @@ +#!/bin/sh /etc/rc.common +# Copyright (C) 2006-2011 OpenWrt.org + +START=80 + +SERVICE_USE_PID=1 + +start() { + service_start /usr/sbin/apinger +} + +stop() { + service_stop /usr/sbin/apinger +} + +reload() { + service_reload /usr/sbin/apinger +} -- cgit v1.2.3