Use trim rather than str_replace. Also no need to sleep anymore since dhcp will configure first the interface
Use trim rather than str_replace. Also no need to sleep anymore since dhcp will configure first the interface