Merge "Add support for gentoo to simple-init"
This commit is contained in:
commit
50f7b00a54
@ -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
|
||||||
|
@ -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": {
|
||||||
|
Loading…
Reference in New Issue
Block a user