fix source paths in postinst
add init script generation for flapjack using here docs, sorry world