prototype-cjdns-pi icon indicating copy to clipboard operation
prototype-cjdns-pi copied to clipboard

mesh.conf documentation

Open makew0rld opened this issue 6 years ago • 0 comments

Now that the /etc/mesh.conf file is being used, it'd be good to see some documentation on the variables found in it and stuff, I guess in docs/.

Here's all the places its used so far in develop:

/Desktop/Coding/tomesh/prototype-cjdns-pi develop
❯ rg mesh.conf
scripts/install2
243:sudo confset general mesh-name "$MESH_NAME" /etc/mesh.conf
412:    echo "export MESH_NAME=$(confget -f /etc/mesh.conf -s general "mesh-name")"

scripts/mesh-point/mesh-point
21:mesh_name=$(confget -f /etc/mesh.conf -s general "mesh-name")
22:frequency=$(confget -f /etc/mesh.conf -s general "frequency")

scripts/mesh-point/install
7:MESH_NAME=$(confget -f /etc/mesh.conf -s general "mesh-name")

scripts/hostapd/install
48:APSSID=$(confget -f /etc/mesh.conf -s general "mesh-name")

scripts/mesh-adhoc/install
7:MESH_NAME=$(confget -f /etc/mesh.conf -s general "mesh-name")

scripts/mesh-adhoc/mesh-adhoc
5:mesh_name=$(confget -f /etc/mesh.conf -s general "mesh-name")
6:frequency=$(confget -f /etc/mesh.conf -s general "frequency")
11:mesh_dev=$(confget -f /etc/mesh.conf -s general "ibss-dev")

scripts/shared/hostname/install
3:MESH_NAME=$(confget -f /etc/mesh.conf -s general "mesh-name")

scripts/shared/nodeinfo/install
8:MESH_NAME=$(confget -f /etc/mesh.conf -s general "mesh-name")

@darkdrgn2k Could you do this before v0.5 is released?

makew0rld avatar Jun 19 '19 02:06 makew0rld