]> git.ipfire.org Git - people/pmueller/ipfire-2.x.git/commitdiff
wio.cgi: Remove code lines that are commented out
authorAdolf Belka <adolf.belka@ipfire.org>
Wed, 13 Apr 2022 08:00:20 +0000 (10:00 +0200)
committerPeter Müller <peter.mueller@ipfire.org>
Mon, 18 Apr 2022 21:12:21 +0000 (21:12 +0000)
- These lines were introduced with another patch related to removing IPFire start/stop
   capability from wio
- The lines were introduced in commented out form and so are doing nothing.
- It looks like they were added as part of a debugging or investigation work on wio

Signed-off-by: Adolf Belka <adolf.belka@ipfire.org>
Reviewed-by: Bernhard Bitsch <bbitsch@ipfire.org>
src/wio/wio.cgi

index 1dcec52fe266e342eb02d7c5404ded26ec31118d..a611028943b5b9af1dfbc7996d6c7dec77950173 100644 (file)
@@ -128,9 +128,6 @@ my @devs_alt   = ('green','blue','orange','red');
 
 my %ifacecolor = ( GREEN => 'wio_run_green', BLUE => 'wio_run_blue', ORANGE => 'wio_run_orange');
 
-#if ( $netsettings{'RED_TYPE'} eq 'STATIC' || $netsettings{'RED_TYPE'} eq 'DHCP' ) {
-#      %ifacecolor = ( %ifacecolor, RED => 'wio_run_red' );
-#}
 
 &loadips();