Allow any kind of script to be ran in init/shutdown

Ticket:	#3057
Merge:	releng/9.1.0