Update learningregistry

fixed init.d script for new(ish) validation