Remove scripts

This commit is contained in:
Jeremy Soller 2018-05-16 16:00:18 -06:00
parent d5b26a5ef1
commit 9c7a6fdaca
4 changed files with 0 additions and 77 deletions

View File

@ -1,2 +0,0 @@
rfkill block bluetooth
sudo powertop --auto-tune

View File

@ -1,19 +0,0 @@
#!/bin/bash
set -ex
dh clean
make clean
make
make clean
debuild -b -uc -us
dh clean
sudo dpkg -i ../system76-dkms_0.0.2_amd64.deb
sudo modprobe -r system76 || true
sudo modprobe system76
dmesg -w | grep system76

View File

@ -1,28 +0,0 @@
#!/bin/bash
modprobe acpi_call
if lsmod | grep -q acpi_call; then
methods="
\_SB.PCI0.PEG0.PEGP._OFF
"
for m in $methods; do
echo -n "Trying $m: "
echo $m > /proc/acpi/call
result=$(cat /proc/acpi/call)
case "$result" in
Error*)
echo "failed"
;;
*)
echo "works!"
# break # try out outher methods too
;;
esac
done
else
echo "The acpi_call module is not loaded, try running 'modprobe acpi_call' or 'insmod acpi_call.ko' as root"
exit 1
fi

View File

@ -1,28 +0,0 @@
#!/bin/bash
modprobe acpi_call
if lsmod | grep -q acpi_call; then
methods="
\_SB.PCI0.PEG0.PEGP._ON
"
for m in $methods; do
echo -n "Trying $m: "
echo $m > /proc/acpi/call
result=$(cat /proc/acpi/call)
case "$result" in
Error*)
echo "failed"
;;
*)
echo "works!"
# break # try out outher methods too
;;
esac
done
else
echo "The acpi_call module is not loaded, try running 'modprobe acpi_call' or 'insmod acpi_call.ko' as root"
exit 1
fi