Skip to content
Snippets Groups Projects
Commit 478dbf60 authored by David Bauer's avatar David Bauer
Browse files

gluon-mesh-vpn-core: remove old migration code


This code was added way back in 2017. We don't support updates from
those old versions, so we can remove it.

Signed-off-by: default avatarDavid Bauer <mail@david-bauer.net>
parent 30b64b0a
No related branches found
No related tags found
No related merge requests found
#!/usr/bin/lua
local site = require 'gluon.site'
local users = require 'gluon.users'
local util = require 'gluon.util'
local uci = require('simple-uci').cursor()
......@@ -21,10 +20,6 @@ uci:section('network', 'interface', 'mesh_vpn', {
uci:save('network')
-- The previously used user and group are removed, we now have a generic group
users.remove_user('gluon-fastd')
users.remove_group('gluon-fastd')
uci:section('firewall', 'include', 'mesh_vpn_dns', {
type = 'restore',
path = '/lib/gluon/mesh-vpn/iptables.rules',
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment