Add legacy upgrade support
This commit is contained in:
parent
7a3dbaf508
commit
072d645f7e
2 changed files with 12 additions and 0 deletions
11
site.conf
11
site.conf
|
@ -124,4 +124,15 @@ Viel Spaß mit deinem Knoten und der Erkundung von Freifunk!
|
|||
</p>
|
||||
END
|
||||
},
|
||||
|
||||
legacy => {
|
||||
version_files => ['/etc/.freifunk_version_keep', '/etc/.lff_version_keep'],
|
||||
old_files => ['/etc/config/config_mode', '/etc/config/ffhl', '/etc/config/freifunk'],
|
||||
|
||||
config_mode_configs => ['config_mode.@wizard[0]', 'ffhl.@wizard[0]', 'freifunk.@wizard[0]'],
|
||||
fastd_configs => ['ffhl_mesh_vpn', 'mesh_vpn'],
|
||||
mesh_ifname => 'freifunk',
|
||||
tc_configs => ['ffhl.@bandwidth[0]', 'freifunk.@bandwidth[0]'],
|
||||
wifi_names => ['wifi_freifunk', 'wifi_freifunk5', 'wifi_mesh', 'wifi_mesh5'],
|
||||
},
|
||||
}
|
||||
|
|
1
site.mk
1
site.mk
|
@ -4,6 +4,7 @@ GLUON_SITE_PACKAGES := \
|
|||
gluon-config-mode \
|
||||
gluon-ebtables-filter-multicast \
|
||||
gluon-ebtables-filter-ra-dhcp \
|
||||
gluon-legacy \
|
||||
gluon-luci-admin \
|
||||
gluon-luci-autoupdater \
|
||||
gluon-next-node \
|
||||
|
|
Loading…
Reference in a new issue