gluon-mesh-vpn-core: use OpenWrt's user/group management

This commit is contained in:
Matthias Schiffer 2018-02-25 07:00:42 +01:00
parent 218de7e0ae
commit 6ae1af9694
No known key found for this signature in database
GPG Key ID: 16EF3F64CB201D9C
2 changed files with 1 additions and 2 deletions

View File

@ -12,6 +12,7 @@ define Package/gluon-mesh-vpn-core
CATEGORY:=Gluon
TITLE:=Basic support for connecting meshes via VPN tunnels
DEPENDS:=+gluon-core +gluon-wan-dnsmasq +iptables +iptables-mod-extra +simple-tc
USERID:=:gluon-mesh-vpn=800
endef
define Build/Prepare

View File

@ -39,8 +39,6 @@ end
users.remove_user('gluon-fastd')
users.remove_group('gluon-fastd')
users.add_group('gluon-mesh-vpn', 800)
uci:section('firewall', 'include', 'mesh_vpn_dns', {
type = 'restore',
path = '/lib/gluon/mesh-vpn/iptables.rules',