Changed ifconfig to /sbin/ifconfig

this prevents ifconfig:command not found