mirror of
https://github.com/vincentmli/bpfire.git
synced 2026-04-26 02:42:58 +02:00
initscripts fkt: Ignore comments in readhash
As '#Another Comment' is a valid key we test this change by checking if the comments do not end up as keys in our array. Signed-off-by: Jonatan Schlag <jonatan.schlag@ipfire.org> Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
This commit is contained in:
committed by
Michael Tremer
parent
59e3c2a217
commit
d289bc28be
@@ -5,6 +5,7 @@ GREEN_DRIVER=r8175
|
||||
RED_DEV=red0
|
||||
RED_MACADDR=00:c0:08:8a:a0:56
|
||||
RED_DRIVER=r8283
|
||||
# Another Comment
|
||||
BLUE_DEV='blue0 net0'
|
||||
BLUE_MACADDR=bc:30:7d:58:6b:e3
|
||||
BLUE_DRIVER=rt2800
|
||||
@@ -15,3 +16,5 @@ RED_NETMASK=0.0.0.0
|
||||
RED_TYPE=PPPOE
|
||||
RED_NETADDRESS=0.0.0.0
|
||||
|
||||
# Comment for testing
|
||||
# Comment for testing Comments with spaces before
|
||||
|
||||
Reference in New Issue
Block a user