System76 darp5, galp2, galp3, galp3-b, and galp3-c support
This commit is contained in:
19
system76/flash.sh
Executable file
19
system76/flash.sh
Executable file
@@ -0,0 +1,19 @@
|
||||
#!/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 "$P/flashrom" \
|
||||
-p internal:laptop=force_I_want_a_brick \
|
||||
-w "$P/coreboot"
|
||||
done
|
Reference in New Issue
Block a user