System76 darp5, galp2, galp3, galp3-b, and galp3-c support
This commit is contained in:
18
system76/ecflash.sh
Executable file
18
system76/ecflash.sh
Executable 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
|
Reference in New Issue
Block a user