2011/7/21 Rémi Denis-Courmont <[email protected]>:
>> While at it, my patch also fixes the dependency on makedev to make it
>> Linux-only (elsewhere it is harmless but unnecessary).
>
> How do I ensure that /dev/tun is in place?
> I guess miredo.postinst does not work...

>From sh:

if [ "$(uname -s)" = "GNU/kFreeBSD" ] ; then
  kldload if_tun
fi

>From C:

#ifdef __FreeBSD_kernel__
#include <sys/param.h>
#include <sys/linker.h>
....
kldload("if_tun");
#endif

-- 
Robert Millan



--
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]

Reply via email to