Add check_mode for FreeBSD
Merge pull request #271 from Tacahilo/add-check_mode-for-freebsd

[FreeBSD] Add check_mode