From 1cd859fecd3b1fdbca7465e269436f80384aeee5 Mon Sep 17 00:00:00 2001 From: Scott Ullrich Date: Sun, 16 Jul 2006 19:04:02 +0000 Subject: Adding darkstat pacakge. --- packages/darkstat/darkstat.sh | 22 ++++++++++++++++++++++ packages/darkstat/darkstat.xml | 22 ++++++++++++++++++++++ 2 files changed, 44 insertions(+) create mode 100644 packages/darkstat/darkstat.sh create mode 100644 packages/darkstat/darkstat.xml (limited to 'packages/darkstat') diff --git a/packages/darkstat/darkstat.sh b/packages/darkstat/darkstat.sh new file mode 100644 index 00000000..a7706142 --- /dev/null +++ b/packages/darkstat/darkstat.sh @@ -0,0 +1,22 @@ +#!/bin/sh + +rc_start() { + /usr/local/sbin/darkstat --detach +} + +rc_stop() { + killall darkstat +} + +case $1 in + start) + rc_start + ;; + stop) + rc_stop + ;; + restart) + rc_stop + rc_start + ;; +esac diff --git a/packages/darkstat/darkstat.xml b/packages/darkstat/darkstat.xml new file mode 100644 index 00000000..1db6a795 --- /dev/null +++ b/packages/darkstat/darkstat.xml @@ -0,0 +1,22 @@ + + + Diagnostics: Darkstat + Darkstat + 3.0 + + Darkstat + Access Darkstat +
Diagnostics
+ http://$myurl:666 +
+ + /usr/local/etc/rc.d/ + 0755 + http://www.pfsense.com/packages/config/darkstat/darkstat.sh + + + Darkstat + darkstat.sh + darkstat + +
-- cgit v1.2.3