Skip to content
Snippets Groups Projects
Unverified Commit 6ae1af96 authored by Matthias Schiffer's avatar Matthias Schiffer
Browse files

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

parent 218de7e0
No related branches found
No related tags found
No related merge requests found
...@@ -12,6 +12,7 @@ define Package/gluon-mesh-vpn-core ...@@ -12,6 +12,7 @@ define Package/gluon-mesh-vpn-core
CATEGORY:=Gluon CATEGORY:=Gluon
TITLE:=Basic support for connecting meshes via VPN tunnels TITLE:=Basic support for connecting meshes via VPN tunnels
DEPENDS:=+gluon-core +gluon-wan-dnsmasq +iptables +iptables-mod-extra +simple-tc DEPENDS:=+gluon-core +gluon-wan-dnsmasq +iptables +iptables-mod-extra +simple-tc
USERID:=:gluon-mesh-vpn=800
endef endef
define Build/Prepare define Build/Prepare
......
...@@ -39,8 +39,6 @@ end ...@@ -39,8 +39,6 @@ end
users.remove_user('gluon-fastd') users.remove_user('gluon-fastd')
users.remove_group('gluon-fastd') users.remove_group('gluon-fastd')
users.add_group('gluon-mesh-vpn', 800)
uci:section('firewall', 'include', 'mesh_vpn_dns', { uci:section('firewall', 'include', 'mesh_vpn_dns', {
type = 'restore', type = 'restore',
path = '/lib/gluon/mesh-vpn/iptables.rules', 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