diff options
author | Alex Samorukov <samm@os2.kiev.ua> | 2015-04-08 17:07:52 +0000 |
---|---|---|
committer | Alex Samorukov <samm@os2.kiev.ua> | 2015-04-08 17:07:52 +0000 |
commit | 11e83c69281842975db5c49664f20c1c2d08441a (patch) | |
tree | 8030f8c5fb1839745623778ad0cd54829cacbf18 /net/apinger/files | |
parent | f64a24267c7b27a80170e2d3cbeae0dc1b786e81 (diff) |
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 <samm@os2.kiev.ua>
Diffstat (limited to 'net/apinger/files')
-rw-r--r-- | net/apinger/files/apinger.init | 18 |
1 files changed, 18 insertions, 0 deletions
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 +} |