summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Mair-Keimberger (asterix) <m.mairkeimberger@gmail.com>2017-01-08 13:35:07 +0100
committerGöktürk Yüksek <gokturk@gentoo.org>2017-01-14 21:32:25 -0500
commit88d27f3a9457019a5d3f109dec88606a79ea14bd (patch)
tree0d70c0f8d603e36c406396c6d04acb6e8416f9d2 /net-nds/389-ds-base
parentnet-misc/vpnc: remove unused init file (diff)
downloadgentoo-88d27f3a9457019a5d3f109dec88606a79ea14bd.tar.gz
gentoo-88d27f3a9457019a5d3f109dec88606a79ea14bd.tar.bz2
gentoo-88d27f3a9457019a5d3f109dec88606a79ea14bd.zip
net-nds/389-ds-base: remove unused files
Diffstat (limited to 'net-nds/389-ds-base')
-rw-r--r--net-nds/389-ds-base/files/restart-dirsrv30
-rw-r--r--net-nds/389-ds-base/files/start-dirsrv14
2 files changed, 0 insertions, 44 deletions
diff --git a/net-nds/389-ds-base/files/restart-dirsrv b/net-nds/389-ds-base/files/restart-dirsrv
deleted file mode 100644
index 90654eca170a..000000000000
--- a/net-nds/389-ds-base/files/restart-dirsrv
+++ /dev/null
@@ -1,30 +0,0 @@
-#!/bin/sh
-
-# Script that restarts the ns-slapd server.
-# Exit status can be:
-# 0: Server restarted successfully
-# 1: Server could not be started
-# 2: Server started successfully (was not running)
-# 3: Server could not be stopped
-
-sleep_time=8
-/etc/init.d/389-ds status &> /dev/null
-running="${?}"
-
-rc-config stop 389-ds
-if [ "${?}" = "1" ]; then
- sleep ${sleep_time}
- exit 3
-fi
-rc-config start 389-ds
-if [ "${?}" = "1" ]; then
- sleep ${sleep_time}
- exit 1
-fi
-if [ "${running}" = "0" ]; then
- sleep ${sleep_time}
- exit 0
-else
- sleep ${sleep_time}
- exit 2
-fi
diff --git a/net-nds/389-ds-base/files/start-dirsrv b/net-nds/389-ds-base/files/start-dirsrv
deleted file mode 100644
index 45c2a6c2c7d4..000000000000
--- a/net-nds/389-ds-base/files/start-dirsrv
+++ /dev/null
@@ -1,14 +0,0 @@
-#!/bin/sh
-
-# Script that starts the ns-slapd server.
-# Exit status can be:
-# 0: Server started successfully
-# 1: Server could not be started
-# 2: Server already running
-
-rc-config stop 389-ds
-rc-config start 389-ds
-rc="${?}"
-# give the daemon a chance to start
-sleep 8
-exit "${rc:-1}"