[5/5] network initscript: drop unused variable

Message ID 20240302110928.10377-5-jonatan.schlag@ipfire.org
State New
Headers
Series [1/5] functions.network: Add proper Exit Codes |

Commit Message

Jonatan Schlag March 2, 2024, 11:09 a.m. UTC
  Signed-off-by: Jonatan Schlag <jonatan.schlag@ipfire.org>
---
 src/initscripts/system/network | 2 --
 1 file changed, 2 deletions(-)
  

Patch

diff --git a/src/initscripts/system/network b/src/initscripts/system/network
index a78473110..ce1ddf01f 100644
--- a/src/initscripts/system/network
+++ b/src/initscripts/system/network
@@ -29,12 +29,10 @@  DO="${1}"
 shift
 
 if [ -n "${1}" ]; then
-	ALL=0
 	for i in green red blue orange; do
 		eval "${i}=0"
 	done
 else
-	ALL=1
 	for i in green red blue orange; do
 		eval "${i}=1"
 	done