Move defaults-file reading code to appropriate place in init scripts