cleanup init.d template variable interpolation