fixing few imports and improving up on resolvconf code piece for debain+bsd