Update init.d.erb

Removing dependency on init.d/functions