Add support for gentoo to simple-init

Needed to remove interface config

Depends-On: Id1487bc82ee4b03aa57258f71f48ca7d377afc47
Change-Id: Iaa1a16b0f65c088f03c9b440ef16427e93ec9b03
Closes-Bug: 1537453
This commit is contained in:
Matthew Thode 2016-01-28 16:14:24 -06:00 committed by Ian Wienand
parent c31a59a2c9
commit 4480b5edef
2 changed files with 8 additions and 0 deletions

View File

@ -18,6 +18,9 @@ rm -f /etc/network/interfaces.d/eth0.cfg
# Debian
rm -f /etc/network/interfaces.d/eth0
# Gentoo
rm -f /etc/conf.d/net*
# /etc/network/interfaces distributions
if [ -f "/etc/network/interfaces" ]; then
printf "auto lo\niface lo inet loopback\n\n" > /etc/network/interfaces

View File

@ -5,6 +5,11 @@
},
"debian": {
"isc-dhcp-client": "isc-dhcp-client"
},
"gentoo": {
"isc-dhcp-client": "net-misc/dhcp",
"python-pip": "dev-python/pip",
"net-tools": "sys-apps/net-tools"
}
},
"default": {