From: <abe...@us...> - 2017-05-12 16:52:03
|
Revision: 8303 http://sourceforge.net/p/astlinux/code/8303 Author: abelbeck Date: 2017-05-12 16:52:00 +0000 (Fri, 12 May 2017) Log Message: ----------- web interface, Edit tab, allow editing of '/mnt/kd/dhcp6c.script' Modified Paths: -------------- branches/1.0/package/webinterface/altweb/admin/edit.php Modified: branches/1.0/package/webinterface/altweb/admin/edit.php =================================================================== --- branches/1.0/package/webinterface/altweb/admin/edit.php 2017-05-12 15:58:04 UTC (rev 8302) +++ branches/1.0/package/webinterface/altweb/admin/edit.php 2017-05-12 16:52:00 UTC (rev 8303) @@ -585,6 +585,10 @@ $sel = ($file === $openfile) ? ' selected="selected"' : ''; putHtml('<option value="'.$file.'"'.$sel.'>snmp/'.basename($file).' - SNMP Applications Config</option>'); } + if (is_writable($file = '/mnt/kd/dhcp6c.script')) { + $sel = ($file === $openfile) ? ' selected="selected"' : ''; + putHtml('<option value="'.$file.'"'.$sel.'>'.basename($file).' - DHCPv6 Client Shell Script</option>'); + } if (is_writable($file = '/mnt/kd/wan-failover.script')) { $sel = ($file === $openfile) ? ' selected="selected"' : ''; putHtml('<option value="'.$file.'"'.$sel.'>'.basename($file).' - WAN Failover Shell Script</option>'); This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |