in dhcpc.script remove lock file and use /etc/resolv.conf directly, and
convert some if->case statements