gluon-mesh-vpn-fastd: don't run as root
This commit is contained in:
parent
3275c92f72
commit
5241565a79
@ -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
Block a user