Closed pmelange closed 5 years ago
example:
/etc/config# cat ffberlin-uplink
config settings 'preset'
option previous 'no-tunnel'
option previous 'tunnelberlin_openvpn'
option current 'tunnelberlin_tunnneldigger'
config settings 'uplink'
option auth 'none'
After the next change-uplink to default, the ffberlin-uplink file looks like this
config settings 'preset'
option previous 'tunnelberlin_openvpn'
option previous 'tunnelberlin_tunnneldigger'
option current 'no-tunnel'
config settings 'uplink'
option auth 'none'
PR https://github.com/freifunk-berlin/firmware-packages/pull/170 has been created to implement the changes. Feel free to merge at any time.
This is tested with build b76e14d
When performing multiple change-uplink procedures, the UCI value ffberlin-uplink.preset.previous has multiple entries.