summaryrefslogtreecommitdiff
path: root/sys-apps/corenetwork/corenetwork-1.6.8.ebuild
blob: 21750e8613b4e008a314f591b2eff8ee006aab42 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
# Copyright 2020-2021 BaldEagleOS Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7

DESCRIPTION="BaldEagleOS's networking scripts."
HOMEPAGE="https://docs.baldeagleos.com"

LICENSE="BSD-2"
SLOT="0"
KEYWORDS="*"

SRC_URI="https://www.git.baldeagleos.com/${PN}/-/archive/${PV}/${P}.tar.bz2"

RDEPEND="sys-apps/openrc !<=sys-apps/openrc-0.12.4-r4"

src_install() {
	exeinto /etc/init.d || die
	doexe init.d/{netif.tmpl,net.lo} || die
	cp -a netif.d ${D}/etc || die
	chown -R root:root ${D}/etc/netif.d || die
	chmod 0755 ${D}/etc/netif.d || die
	chmod -R 0644 ${D}/etc/netif.d/* || die
}