idempotent sed in bin/mgmt for ferret