Merge "Add support for gentoo to simple-init"

This commit is contained in:
Jenkins 2016-02-04 08:00:47 +00:00 committed by Gerrit Code Review
commit 50f7b00a54
2 changed files with 8 additions and 0 deletions

View File

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

View File

@ -5,6 +5,11 @@
}, },
"debian": { "debian": {
"isc-dhcp-client": "isc-dhcp-client" "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": { "default": {