Skip to content

Instantly share code, notes, and snippets.

@andy0130tw
Created May 28, 2025 19:49
Show Gist options
  • Save andy0130tw/b0e254ae0626853c34fd458773a5fe59 to your computer and use it in GitHub Desktop.
Save andy0130tw/b0e254ae0626853c34fd458773a5fe59 to your computer and use it in GitHub Desktop.
#!/bin/sh
PATH_TO_FWTOOL=/home/qbane/system-apps/framework-system/target/debug/framework_tool
if [ $# -eq 0 ]; then
exec $PATH_TO_FWTOOL --help
fi
# if this does not work (like using a kernel before 6.12), you might need "--driver=portio" extra arg
exec sudo $PATH_TO_FWTOOL "$@"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment