mwarning / zerotier-openwrt

A OpenWrt package for ZeroTier One - Pull requests are welcome!
687 stars 144 forks source link

feat: allow copy configuration files instead of making symlinks #92

Closed SadPencil closed 3 years ago

SadPencil commented 3 years ago

Implementation of https://github.com/mwarning/zerotier-openwrt/issues/91#issuecomment-878840925

Tested on my router.

ogarcia commented 3 years ago

LGTM.

@mwarning not is a bad idea. In terms of performance there is no difference because the files are too small, but it does minimize flash writes if you are using config_path option.

The good point is that is an option that is disabled by default, so it retains backward compatibility.

I think that can be merged.

mwarning commented 3 years ago

fyi: https://github.com/openwrt/packages/pull/16653