add scripts that do something useful
This commit is contained in:
parent
5cd24db9ae
commit
627c9c2fef
6
scripts/dgpu_off.sh
Executable file
6
scripts/dgpu_off.sh
Executable file
@ -0,0 +1,6 @@
|
|||||||
|
#!/bin/bash
|
||||||
|
DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )/../" && pwd )"
|
||||||
|
|
||||||
|
sudo $DIR/pmh7tool -c 0x50 7
|
||||||
|
sleep 0.001
|
||||||
|
sudo $DIR/pmh7tool -c 0x50 3
|
7
scripts/dgpu_on.sh
Executable file
7
scripts/dgpu_on.sh
Executable file
@ -0,0 +1,7 @@
|
|||||||
|
#!/bin/bash
|
||||||
|
DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )/../" && pwd )"
|
||||||
|
|
||||||
|
sudo $DIR/pmh7tool -c 0x50 7
|
||||||
|
sudo $DIR/pmh7tool -s 0x50 3
|
||||||
|
sleep 0.01
|
||||||
|
sudo $DIR/pmh7tool -s 0x50 7
|
Loading…
x
Reference in New Issue
Block a user