Port ifdown.c to FreeBSD. Patch from Guillem Jover and Debian.