check_ethernet: switch to /bin/sh (dash)
There are technical reasons why /bin/sh (currently dash) is the preferred
shell for ChromeOS, not bash. Since checkbashism is reporting no errors
or warnings, should be simple to change right?
I expect so but wouldn't not be offended if sheriff or
trooper has to revert this change.
TEST=sudo apt-get install devscripts # outside of chroot
checkbashism check_ethernet.hook # returns no output
scp recover_duts/hooks/check_ethernet.hook kefka.lab:/usr/local/bin/hooks/check_ethernet.hook
# unplug link, wait for machine to reboot after ~2 minutes
# log in again to review /var/log/messages and verify no
# shell errors are reported by check_ethernet.hook.
# (just the usually "attempting method ..." etc)
Commit-Ready: Kirtika Ruchandani <email@example.com>
Tested-by: Grant Grundler <firstname.lastname@example.org>
Reviewed-by: Kirtika Ruchandani <email@example.com>
Reviewed-by: Grant Grundler <firstname.lastname@example.org>
1 file changed