summaryrefslogtreecommitdiffstats
path: root/daemonsbkg
diff options
context:
space:
mode:
Diffstat (limited to 'daemonsbkg')
-rw-r--r--daemonsbkg/PKGBUILD24
-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
-rw-r--r--daemonsbkg/daemonsbkg.install14
6 files changed, 0 insertions, 99 deletions
diff --git a/daemonsbkg/PKGBUILD b/daemonsbkg/PKGBUILD
deleted file mode 100644
index 1bc5015..0000000
--- a/daemonsbkg/PKGBUILD
+++ /dev/null
@@ -1,24 +0,0 @@
-# Maintainer: Florian Pritz <f-p@gmx.at>
-
-pkgname=daemonsbkg
-pkgver=0.1.3
-pkgrel=1
-pkgdesc="Adds support for really starting daemons in background"
-arch=('i686' 'x86_64')
-url="http://flo.server-speed.net/stuff/mirror/$pkgname"
-license=('GPL')
-install=${pkgname}.install
-source=("http://flo.server-speed.net/stuff/mirror/$pkgname/$pkgname-$pkgver.tar.gz")
-
-build() {
- cd "$srcdir/$pkgname-$pkgver"
-
- install -D -o root -m 755 ${pkgname} ${pkgdir}/etc/rc.d/functions.d/${pkgname}
- install -D -o root -m 700 ${pkgname}.sh ${pkgdir}/usr/bin/${pkgname}.sh
- install -D -o root -m 700 ${pkgname}.patch ${pkgdir}/etc/${pkgname}.patch
- install -D -o root -m 700 rc.local.daemons ${pkgdir}/etc/rc.local.daemons
-}
-
-# vim:set ts=2 sw=2 et:
-md5sums=('fea73f005a7265335dc7765fc7cb9c4d')
-sha256sums=('090d44108e44ca55556adf3f41b1c14a2f9647004c5e9a79c866b63902365498')
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
-
diff --git a/daemonsbkg/daemonsbkg.install b/daemonsbkg/daemonsbkg.install
deleted file mode 100644
index f04f73b..0000000
--- a/daemonsbkg/daemonsbkg.install
+++ /dev/null
@@ -1,14 +0,0 @@
-post_install() {
- echo ""
- echo "NOTE:"
- echo "--> Run '/usr/bin/daemonsbkg.sh' whenever you upgrade initscripts."
- echo "--> I'll also add a new line to rc.conf."
- echo "Running patch now..."
- /usr/bin/daemonsbkg.sh
-}
-
-pre_remove() {
- echo "Removing the patch..."
- patch -R -p0 < /etc/daemonsbkg.patch
-}
-# vim:set ts=2 sw=2 et: