mrchromebox-fwscript.sh 484 B

1234567891011121314151617181920
  1. #!/bin/bash
  2. # menu_plugin
  3. PLUGIN_NAME="MrChromebox Firmware Utility Script"
  4. PLUGIN_FUNCTION="Run MrChromebox's firmware utility script"
  5. PLUGIN_DESCRIPTION="Runs MrChromebox's firmware utility script."
  6. PLUGIN_AUTHOR="MrChromebox, DiffuseHyperion"
  7. PLUGIN_VERSION=2
  8. doas() {
  9. ssh -t -p 1337 -i /rootkey -oStrictHostKeyChecking=no root@127.0.0.1 "$@"
  10. }
  11. pushd /tmp
  12. curl -LOk mrchromebox.tech/firmware-util.sh
  13. doas "pushd /tmp
  14. bash firmware-util.sh
  15. popd
  16. exit"
  17. popd