gluon-mesh-vpn-fastd: don't run as root
This commit is contained in:
parent
cfa49b30c0
commit
9675535afb
|
@ -19,12 +19,16 @@ print <<END;
|
|||
|
||||
. /lib/functions.sh
|
||||
. /lib/gluon/functions/sysconfig.sh
|
||||
. /lib/gluon/functions/users.sh
|
||||
|
||||
add_user gluon-fastd 800
|
||||
|
||||
uci_add fastd fastd mesh_vpn
|
||||
|
||||
uci_remove fastd mesh_vpn config
|
||||
uci_remove fastd mesh_vpn config_peer_dir
|
||||
|
||||
uci_set fastd mesh_vpn user 'gluon-fastd'
|
||||
uci_set fastd mesh_vpn syslog_level 'verbose'
|
||||
uci_set fastd mesh_vpn interface 'mesh-vpn'
|
||||
uci_set fastd mesh_vpn mode 'tap'
|
||||
|
|
Loading…
Reference in New Issue