to adpt freebsd
for pure install
restore for sudo