[2/2] wio.cgi: Remove code lines that are commented out
Commit Message
- 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>
---
src/wio/wio.cgi | 3 ---
1 file changed, 3 deletions(-)
Comments
Reviewed-by: Bernhard Bitsch <bbitsch@ipfire.org>
Am 13.04.2022 um 10:00 schrieb Adolf Belka:
> - 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>
> ---
> src/wio/wio.cgi | 3 ---
> 1 file changed, 3 deletions(-)
>
> diff --git a/src/wio/wio.cgi b/src/wio/wio.cgi
> index 1dcec52fe..a61102894 100644
> --- a/src/wio/wio.cgi
> +++ b/src/wio/wio.cgi
> @@ -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();
>
@@ -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();