check_ethernet: fix up nits in toggle_usb_interface() method

Recently added "toggle USB interface" method wasn't consistently
using that same pattern to find/test ethernet devices.

Add quotes around use of the complete path for "authorized" field.

These changes were supposed to land with patchset 9 but the CQ picked up
patchset 8 instead. :/

TEST=on local machine from console:
    touch /mnt/stateful_partition/.labmachine
    # disconnect ethernet cable
    bash -x /usr/local/bin/hooks/check_ethernet.hook
    # review output for all methods
    rm /mnt/stateful_partition/.labmachine

Change-Id: I4837c7e55676cb90b7a6d51dcefca1f51e5a243b
Commit-Ready: Grant Grundler <>
Tested-by: Grant Grundler <>
Reviewed-by: Richard Barnette <>
Reviewed-by: Grant Grundler <>
1 file changed