[autotest] Fix freon_swap to work on cautotest.

The original script had a number of peculiarities that restricted it
from working on cautotest, or almost anywhwere that wasn't my
desktop.  This fixes the script to work on cautotest, and generally
from any system with a reasonable chroot.

BUG=None
TEST=Run it locally

Change-Id: I125fd01c16f50ed104072e01877e6cc67f8a0c1a
Reviewed-on: https://chromium-review.googlesource.com/266502
Reviewed-by: Mungyung Ryu <mkryu@google.com>
Reviewed-by: Richard Barnette <jrbarnette@chromium.org>
Tested-by: Richard Barnette <jrbarnette@chromium.org>
Commit-Queue: Richard Barnette <jrbarnette@chromium.org>
1 file changed