pari: branch aadk r822 - /branches/aadk/config/networking.html

asterisk-gui-commits at lists.digium.com asterisk-gui-commits at lists.digium.com
Mon Apr 30 08:20:47 MST 2007


Author: pari
Date: Mon Apr 30 10:20:46 2007
New Revision: 822

URL: http://svn.digium.com/view/asterisk-gui?view=rev&rev=822
Log:
set proper values for SSHACCESS in network.params

Modified:
    branches/aadk/config/networking.html

Modified: branches/aadk/config/networking.html
URL: http://svn.digium.com/view/asterisk-gui/branches/aadk/config/networking.html?view=diff&rev=822&r1=821&r2=822
==============================================================================
--- branches/aadk/config/networking.html (original)
+++ branches/aadk/config/networking.html Mon Apr 30 10:20:46 2007
@@ -83,12 +83,13 @@
 
 		if(_$('DHCP_WAN').checked){var dwv = "on"; }else{var dwv = "off"; }
 		if(_$('DHCP_LAN').checked){var dlv = "on"; }else{var dlv = "off"; }
+		if(_$('SSHACCESS').checked){var ssv = "yes"; }else{var ssv = "no"; }
 
 		var cmd1 = "echo \"DHCP_WAN=" + dwv + " IP_WAN=" + _$('IP_WAN').value + " SUBNET_WAN=" + _$('SUBNET_WAN').value + " GATEWAY_WAN=" + _$('GATEWAY_WAN').value + " DNS_WAN=" + _$('DNS_WAN').value + "\" > " + network_params;
 
 		var cmd2 = "echo \" DHCP_LAN=" + dlv + " IP_LAN=" + _$('IP_LAN').value + " SUBNET_LAN=" + _$('SUBNET_LAN').value + " GATEWAY_LAN=" + _$('GATEWAY_LAN').value + " DNS_LAN=" + _$('DNS_LAN').value + "\" >> " + network_params;
 
-		var cmd3 = "echo \" DNS_LAN=" + _$('DNS_LAN').value + " START_RANGE_LAN=" + _$('START_RANGE_LAN').value + " END_RANGE_LAN=" + _$('END_RANGE_LAN').value + " ROUTER_LAN=" + _$('ROUTER_LAN').value + " SSHACCESS=" + _$('SSHACCESS').value + "\" >> " + network_params;
+		var cmd3 = "echo \" DNS_LAN=" + _$('DNS_LAN').value + " START_RANGE_LAN=" + _$('START_RANGE_LAN').value + " END_RANGE_LAN=" + _$('END_RANGE_LAN').value + " ROUTER_LAN=" + _$('ROUTER_LAN').value + " SSHACCESS=" + ssv + "\" >> " + network_params;
 
 		var cmd4 = "echo \" HOSTNAME=" + _$('HOSTNAME').value + " LEASE_LAN=" + _$('LEASE_LAN').value + " NTP_LAN=" + _$('NTP_LAN').value + " TFTP_LAN=" + _$('TFTP_LAN').value + " DOMAIN_LAN=" + _$('DOMAIN_LAN').value + " MAX_LEASE=" + _$('MAX_LEASE').value + "\" >> " + network_params;
 



More information about the asterisk-gui-commits mailing list