freifunk: mknod /dev/net/tun

This commit is contained in:
Astro 2021-04-29 21:56:37 +02:00
parent ab35429b87
commit 8b0fb87025
1 changed files with 6 additions and 0 deletions

View File

@ -19,6 +19,12 @@ in {
];
boot.tmpOnTmpfs = true;
boot.postBootCommands = ''
if [ ! -c /dev/net/tun ]; then
mkdir -p /dev/net
mknod -m 666 /dev/net/tun c 10 200
fi
'';
c3d2 = {
isInHq = false;
hq.statistics.enable = true;