summaryrefslogtreecommitdiffstats
path: root/daemonsbkg/daemonsbkg-0.1.3
diff options
context:
space:
mode:
Diffstat (limited to 'daemonsbkg/daemonsbkg-0.1.3')
-rw-r--r--daemonsbkg/daemonsbkg-0.1.3/daemonsbkg7
-rw-r--r--daemonsbkg/daemonsbkg-0.1.3/daemonsbkg.patch33
-rw-r--r--daemonsbkg/daemonsbkg-0.1.3/daemonsbkg.sh5
-rwxr-xr-xdaemonsbkg/daemonsbkg-0.1.3/rc.local.daemons16
4 files changed, 0 insertions, 61 deletions
diff --git a/daemonsbkg/daemonsbkg-0.1.3/daemonsbkg b/daemonsbkg/daemonsbkg-0.1.3/daemonsbkg
deleted file mode 100644
index 1d5dc15..0000000
--- a/daemonsbkg/daemonsbkg-0.1.3/daemonsbkg
+++ /dev/null
@@ -1,7 +0,0 @@
-start_daemonbkg() {
- (/etc/rc.d/$1 start) &>/dev/null
-}
-
-start_daemonbkg_bkgd() {
- (/etc/rc.d/$1 start) &>/dev/null &
-}
diff --git a/daemonsbkg/daemonsbkg-0.1.3/daemonsbkg.patch b/daemonsbkg/daemonsbkg-0.1.3/daemonsbkg.patch
deleted file mode 100644
index cc21536..0000000
--- a/daemonsbkg/daemonsbkg-0.1.3/daemonsbkg.patch
+++ /dev/null
@@ -1,33 +0,0 @@
---- /etc/rc.local.shutdown 2008-09-18 22:21:39.000000000 +0200
-+++ /etc/rc.local.shutdown.new 2008-10-19 13:55:32.000000000 +0200
-@@ -3,3 +3,16 @@
- # /etc/rc.local.shutdown: Local shutdown script.
- #
-
-+. /etc/rc.conf
-+. /etc/rc.d/functions
-+
-+if [ "$PREVLEVEL" = "3" -o "$PREVLEVEL" = "5" ]; then
-+ # Shutdown background daemons
-+ let i=${#DAEMONSBKG[@]}
-+ while [ $i -ge 0 ]; do
-+ if [ "${DAEMONSBKG[$i]:0:1}" != '!' ]; then
-+ ck_daemon ${DAEMONSBKG[$i]#@} || stop_daemon ${DAEMONSBKG[$i]#@}
-+ fi
-+ let i=i-1
-+ done
-+fi
-\ No newline at end of file
-
---- /etc/rc.multi 2008-09-18 22:21:39.000000000 +0200
-+++ /etc/rc.multi.new 2008-10-19 13:55:32.000000000 +0200
-@@ -20,6 +20,9 @@
- fi
- done
-
-+# Start background daemons
-+/etc/rc.local.daemons &
-+
- if [ -x /etc/rc.local ]; then
- /etc/rc.local
- fi
diff --git a/daemonsbkg/daemonsbkg-0.1.3/daemonsbkg.sh b/daemonsbkg/daemonsbkg-0.1.3/daemonsbkg.sh
deleted file mode 100644
index d24960e..0000000
--- a/daemonsbkg/daemonsbkg-0.1.3/daemonsbkg.sh
+++ /dev/null
@@ -1,5 +0,0 @@
-#!/bin/sh
-patch -p0 < /etc/daemonsbkg.patch
-if ! grep -q "DAEMONSBKG" /etc/rc.conf; then
- echo "DAEMONSBKG=()" >> /etc/rc.conf
-fi \ No newline at end of file
diff --git a/daemonsbkg/daemonsbkg-0.1.3/rc.local.daemons b/daemonsbkg/daemonsbkg-0.1.3/rc.local.daemons
deleted file mode 100755
index b6b3f36..0000000
--- a/daemonsbkg/daemonsbkg-0.1.3/rc.local.daemons
+++ /dev/null
@@ -1,16 +0,0 @@
-#!/bin/bash
-
-. /etc/rc.conf
-. /etc/rc.d/functions
-
-# Start daemons
-for daemon in "${DAEMONSBKG[@]}"; do
- if [ "$daemon" = "${daemon#!}" ]; then
- if [ "$daemon" = "${daemon#@}" ]; then
- start_daemonbkg $daemon 2>&1 >/dev/null
- else
- start_daemonbkg_bkgd ${daemon:1} 2>&1 >/dev/null
- fi
- fi
-done
-