Remove global variable $NAME in check_dir_readable()
Remove global variable in init.d function