bashrc: add checkbpf function