gluon-mesh-vpn-fastd: don't run as root

This commit is contained in:
Matthias Schiffer 2014-01-14 18:46:17 +01:00
parent cfa49b30c0
commit 9675535afb
1 changed files with 4 additions and 0 deletions

View File

@ -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'