gluon-mesh-vpn-fastd: set mesh_vpn.enabled flag

This commit is contained in:
Nils Schneider 2013-10-02 13:19:39 +02:00
parent d866400ef9
commit 09855e0c80

View File

@ -19,6 +19,7 @@ print <<END;
uci -q batch <<EOF uci -q batch <<EOF
set fastd.mesh_vpn='fastd' set fastd.mesh_vpn='fastd'
set fastd.mesh_vpn.enabled=$cfg->{enabled}
set fastd.mesh_vpn.syslog_level='verbose' set fastd.mesh_vpn.syslog_level='verbose'
delete fastd.mesh_vpn.config delete fastd.mesh_vpn.config
delete fastd.mesh_vpn.config_peer_dir delete fastd.mesh_vpn.config_peer_dir