Update init.d to prevent looping