mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-11-07 18:07:08 -08:00
sys-apps/opentmpfiles: create runlevel directories if they do not exist
Closes: https://bugs.gentoo.org/649480 Package-Manager: Portage-2.3.51, Repoman-2.3.11 Signed-off-by: William Hubbs <williamh@gentoo.org>
This commit is contained in:
@@ -42,6 +42,7 @@ add_service() {
|
||||
local runlevel=$2
|
||||
|
||||
elog "Auto-adding '${initd}' service to your ${runlevel} runlevel"
|
||||
mkdir -p "${EROOT}"etc/runlevels/${runlevel}
|
||||
ln -snf /etc/init.d/${initd} "${EROOT}"etc/runlevels/${runlevel}/${initd}
|
||||
}
|
||||
|
||||
|
||||
@@ -42,6 +42,7 @@ add_service() {
|
||||
local runlevel=$2
|
||||
|
||||
elog "Auto-adding '${initd}' service to your ${runlevel} runlevel"
|
||||
mkdir -p "${EROOT}"etc/runlevels/${runlevel}
|
||||
ln -snf /etc/init.d/${initd} "${EROOT}"etc/runlevels/${runlevel}/${initd}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user