check_ethernet: fix quoting of string variables

In, Ben Chan pointed
out several instances of "suboptimal" string variable quoting.
Since this CL is a cherry-pick to an almost "retired" R65 release,
it makes more sense to fix those in ToT (R68).

TEST=sudo apt-get install shellcheck # outside of chroot
     shellcheck check_ethernet.hook
     copied to whirlwind, touch /mnt/stateful_partition/.labmachine,
     issued "ifconfig down" from console to force ethernet to "recovery".

Change-Id: Ibddcda38b7ff8fdf227c6b0f03a6ad9957e5caa1
Commit-Ready: Kirtika Ruchandani <>
Tested-by: Grant Grundler <>
Reviewed-by: Kirtika Ruchandani <>
Reviewed-by: Grant Grundler <>
1 file changed