--- network | 11 +++-------- 1 files changed, 3 insertions(+), 8 deletions(-) diff --git a/network b/network index 977e81e..242acc3 100755 --- a/network +++ b/network @@ -3,14 +3,9 @@ . /etc/rc.conf . /etc/rc.d/functions -# wireless settings -[ -f /etc/conf.d/wireless ] && . /etc/conf.d/wireless -# ethernet bonding settings -[ -f /etc/conf.d/bonding ] && . /etc/conf.d/bonding -# bridge settings -[ -f /etc/conf.d/bridges ] && . /etc/conf.d/bridges -# dhcpcd settings -[ -f /etc/conf.d/dhcpcd ] && . /etc/conf.d/dhcpcd +for s in wireless bonding bridges dhcpcd; do + [[ -f /etc/conf.d/$s ]] && . "/etc/conf.d/$s" +done ifup() { -- 1.7.1