aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorUlrich Müller <ulm@gentoo.org>2013-08-24 18:51:17 +0200
committerUlrich Müller <ulm@gentoo.org>2013-08-24 18:51:17 +0200
commit2e050fa70b6ffdd25698796ea9166893f623d605 (patch)
treea2faf18c09bb0f7dc1564e8fe29d276a19a30f7c /modules
parentConfigure check whether we are building from git. (diff)
downloadeselect-2e050fa70b6ffdd25698796ea9166893f623d605.tar.gz
eselect-2e050fa70b6ffdd25698796ea9166893f623d605.tar.bz2
eselect-2e050fa70b6ffdd25698796ea9166893f623d605.zip
Drop baselayout-1 compatibility code.
* modules/rc.eselect (source_rc_functions): Drop baselayout-1 compatibility code.
Diffstat (limited to 'modules')
-rw-r--r--modules/rc.eselect7
1 files changed, 1 insertions, 6 deletions
diff --git a/modules/rc.eselect b/modules/rc.eselect
index c9f4b8b..dc59ee2 100644
--- a/modules/rc.eselect
+++ b/modules/rc.eselect
@@ -8,16 +8,11 @@ DESCRIPTION="Manage /etc/init.d scripts in runlevels"
MAINTAINER="eselect@gentoo.org"
# source_rc_functions PRIVATE
-# API for OpenRC or baselayout-1
+# API for OpenRC
source_rc_functions() {
[[ ${RC_GOT_FUNCTIONS} = yes ]] && return
source "${EPREFIX}/etc/init.d/functions.sh" \
|| die "Failed to source functions.sh"
- # baselayout-1 compatibility
- if [[ -e ${svclib}/sh/rc-services.sh ]]; then
- source "${svclib}/sh/rc-services.sh" \
- || die "Failed to source rc-services.sh"
- fi
}
# get_runlevel PRIVATE