Eventscripts: 10.interfaces clean-up - use more descriptive variable names.
authorMartin Schwenke <martin@meltin.net>
Tue, 28 Jun 2011 06:10:23 +0000 (16:10 +1000)
committerMartin Schwenke <martin@meltin.net>
Fri, 12 Aug 2011 04:49:27 +0000 (14:49 +1000)
commit3402930319d462eab5525410f6a676952e120182
tree01478ebdd34712617258020c8d0b8b5026dc6734
parentab443c4d7d282f282792abc6a6ac224ab06abe30
Eventscripts: 10.interfaces clean-up - use more descriptive variable names.

The name of variable $ok gives no clue to its meaning/use so this
changes that variable to be named $up_interfaces_found.

The return logic relating to $ok and $fail is difficult to read, so
these variables are given true/fale values, allowing the return logic
to be simplified.

Signed-off-by: Martin Schwenke <martin@meltin.net>
config/events.d/10.interface