Sfoglia il codice sorgente

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

Nils Schneider 11 anni fa
parent
commit
09855e0c80
1 ha cambiato i file con 1 aggiunte e 0 eliminazioni
  1. 1 0
      package/gluon-mesh-vpn-fastd/fastd.pl

+ 1 - 0
package/gluon-mesh-vpn-fastd/fastd.pl

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