diff options
author | Mike Gilbert <floppym@gentoo.org> | 2016-07-30 10:54:39 -0400 |
---|---|---|
committer | Mike Gilbert <floppym@gentoo.org> | 2016-07-30 11:46:34 -0400 |
commit | 273a0ad4f4a13298749dc9584c38ee97a556f8a1 (patch) | |
tree | 10d6f45a7f44db06711f8058e59781d4621e5de2 /sys-apps/systemd | |
parent | sys-apps/systemd: drop migrate_net_name_slot (diff) | |
download | gentoo-273a0ad4f4a13298749dc9584c38ee97a556f8a1.tar.gz gentoo-273a0ad4f4a13298749dc9584c38ee97a556f8a1.tar.bz2 gentoo-273a0ad4f4a13298749dc9584c38ee97a556f8a1.zip |
sys-apps/systemd: drop reenable_unit
Diffstat (limited to 'sys-apps/systemd')
-rw-r--r-- | sys-apps/systemd/systemd-9999.ebuild | 11 |
1 files changed, 0 insertions, 11 deletions
diff --git a/sys-apps/systemd/systemd-9999.ebuild b/sys-apps/systemd/systemd-9999.ebuild index a6151d15f732..32561569a749 100644 --- a/sys-apps/systemd/systemd-9999.ebuild +++ b/sys-apps/systemd/systemd-9999.ebuild @@ -400,14 +400,6 @@ migrate_locale() { fi } -reenable_unit() { - if systemctl is-enabled --root="${ROOT}" "$1" &> /dev/null; then - ebegin "Re-enabling $1" - systemctl reenable --root="${ROOT}" "$1" - eend $? || FAIL=1 - fi -} - pkg_postinst() { newusergroup() { enewgroup "$1" @@ -439,9 +431,6 @@ pkg_postinst() { # between OpenRC & systemd migrate_locale - # Re-enable systemd-networkd for socket activation - reenable_unit systemd-networkd.service - if [[ ${FAIL} ]]; then eerror "One of the postinst commands failed. Please check the postinst output" eerror "for errors. You may need to clean up your system and/or try installing" |