SeattleMeshnet / meshbox

The Hyperboria peering device
https://github.com/hyperboria/cjdns
GNU General Public License v3.0
141 stars 25 forks source link

Cleaned up tunDevice configuration handling. #1

Closed azlyth closed 10 years ago

azlyth commented 10 years ago

Fixed a bug where not having a tun_device in the config would cause an error when retrieving the config via 'cjdrouteconf get'. Also fixed an issue where the default tun_device was being set to 'nil' if one wasn't listed in the config (e.g. in the default cjdns config).

azlyth commented 10 years ago

Note that this also resolves an issue that people would face when upgrading to the recent tunDevice config commit. Old configs wouldn't have tun_device in their /etc/config/cjdns file, and as such, upgrading the OpenWRT while keeping old configuration files would result in cjdns not starting (since the 'cjdrouteconf get' would error out).

ghost commented 10 years ago

Good job, I didn't properly think of the upgrade path :)

Thanks!

ghost commented 10 years ago

Btw, on which IRC are you people usually hanging out? I'd love to hear about your experiences so far running cjdns on OpenWRT.

azlyth commented 10 years ago

You could probably guess, haha. We hang out in #nycmeshnet on EFnet. Stop by sometime. :)