[Midnightbsd-cvs] mports: sysutils/munin-node: Remove the revive script that's only needed
laffer1 at midnightbsd.org
laffer1 at midnightbsd.org
Fri May 9 22:57:28 EDT 2008
Log Message:
-----------
Remove the revive script that's only needed for old versions of perl we don't care about.
Modified Files:
--------------
mports/sysutils/munin-node:
Makefile (r1.2 -> r1.3)
Removed Files:
-------------
mports/sysutils/munin-node/files:
munin-node-revive.sh.in
-------------- next part --------------
Index: Makefile
===================================================================
RCS file: /home/cvs/mports/sysutils/munin-node/Makefile,v
retrieving revision 1.2
retrieving revision 1.3
diff -L sysutils/munin-node/Makefile -L sysutils/munin-node/Makefile -u -r1.2 -r1.3
--- sysutils/munin-node/Makefile
+++ sysutils/munin-node/Makefile
@@ -35,7 +35,7 @@
MAN5= munin-node.conf.5
MAN8= munin-node-configure.8 munin-node.8 munin-run.8
-SUB_FILES= pkg-message munin-node.sh munin-node-revive.sh
+SUB_FILES= pkg-message munin-node.sh
SUB_LIST= RC_SUBR=${RC_SUBR}
USE_RC_SUBR= YES
--- sysutils/munin-node/files/munin-node-revive.sh.in
+++ /dev/null
@@ -1,27 +0,0 @@
-#!/bin/sh
-
-#
-# Add the following lines to /etc/rc.conf to enable munin-node:
-# munin_node_enable (bool): Set to "NO" by default.
-# Set it to "YES" to enable munin-node
-# munin_node_config (path): Set to "%%PREFIX%%/etc/munin/munin-node.conf" by default.
-#
-
-. %%RC_SUBR%%
-
-name="munin_node"
-rcvar=`set_rcvar`
-
-[ -z "$munin_node_enable" ] && munin_node_enable="NO"
-[ -z "$munin_node_config" ] && munin_node_config="%%PREFIX%%/etc/munin/munin-node.conf"
-
-command="%%PREFIX%%/sbin/munin-node"
-pidfile=`awk '$1 == "pid_file" { print $2 }' $munin_node_config`
-
-load_rc_config $name
-
-#set -x
-pid=`check_pidfile $pidfile %%PREFIX%%/sbin/munin-node`
-if [ -z "$pid" ]; then
- run_rc_command start > /dev/null
-fi
More information about the Midnightbsd-cvs
mailing list