if no define SAVEDIR, nis.sh and ntp.sh will write tmp file to root directory. we should locate it to related with dhcp.