Add legacy upgrade support

This commit is contained in:
Matthias Schiffer 2014-02-22 08:40:07 +01:00
parent 7a3dbaf508
commit 072d645f7e
2 changed files with 12 additions and 0 deletions

View file

@ -124,4 +124,15 @@ Viel Spaß mit deinem Knoten und der Erkundung von Freifunk!
</p> </p>
END 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'],
},
} }

View file

@ -4,6 +4,7 @@ GLUON_SITE_PACKAGES := \
gluon-config-mode \ gluon-config-mode \
gluon-ebtables-filter-multicast \ gluon-ebtables-filter-multicast \
gluon-ebtables-filter-ra-dhcp \ gluon-ebtables-filter-ra-dhcp \
gluon-legacy \
gluon-luci-admin \ gluon-luci-admin \
gluon-luci-autoupdater \ gluon-luci-autoupdater \
gluon-next-node \ gluon-next-node \