diff --git a/src/initscripts/system/localnet b/src/initscripts/system/localnet index 7ff18d7b4..e071216fd 100644 --- a/src/initscripts/system/localnet +++ b/src/initscripts/system/localnet @@ -23,14 +23,8 @@ write_resolv_conf() { } write_hosts() { - eval $(/usr/local/bin/readhash /var/ipfire/ethernet/settings) - ( echo "127.0.0.1 localhost.localdomain localhost" - - if [ -n "${GREEN_ADDRESS}" ]; then - echo "${GREEN_ADDRESS} ${HOSTNAME}.${DOMAINNAME} ${HOSTNAME}" - fi ) > /etc/hosts }