System76 darp5, galp2, galp3, galp3-b, and galp3-c support

This commit is contained in:
Jeremy Soller
2019-02-07 16:37:47 -07:00
parent 7bbed26ca9
commit 891cc9a939
123 changed files with 10828 additions and 9 deletions

18
system76/ecflash.sh Executable file
View File

@@ -0,0 +1,18 @@
#!/usr/bin/env bash
set -ex
D="$(dirname "$(realpath "$0")")"
for N in "$@"
do
P="$D/$N"
if [ ! -d "$P" ]
then
echo "$0 [model]"
exit 1
fi
sudo "$D/ecflash" \
"$P/ec"
done