Rewrote interfaces() code for handling of /etc/network/interfaces.