diff options
author | Scott Ullrich <sullrich@pfsense.org> | 2006-07-16 19:04:02 +0000 |
---|---|---|
committer | Scott Ullrich <sullrich@pfsense.org> | 2006-07-16 19:04:02 +0000 |
commit | 1cd859fecd3b1fdbca7465e269436f80384aeee5 (patch) | |
tree | 90c244a7558bf0c33017bbfdd2e0985ea14fa621 /packages/darkstat/darkstat.sh | |
parent | 3eab27426aa39497d87a9fb768fd860f924e10be (diff) | |
download | pfsense-packages-1cd859fecd3b1fdbca7465e269436f80384aeee5.tar.gz pfsense-packages-1cd859fecd3b1fdbca7465e269436f80384aeee5.tar.bz2 pfsense-packages-1cd859fecd3b1fdbca7465e269436f80384aeee5.zip |
Adding darkstat pacakge.
Diffstat (limited to 'packages/darkstat/darkstat.sh')
-rw-r--r-- | packages/darkstat/darkstat.sh | 22 |
1 files changed, 22 insertions, 0 deletions
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 |