Skip to content

Instantly share code, notes, and snippets.

@stockmind
Created June 27, 2017 04:01
Show Gist options
  • Save stockmind/d1517101f4ad4d828a8632285ee00973 to your computer and use it in GitHub Desktop.
Save stockmind/d1517101f4ad4d828a8632285ee00973 to your computer and use it in GitHub Desktop.
GPD Pocket fand service installation instruction
# download gpdfand service files
git clone https://github.com/efluffy/gpdfand.git
cd gpdfand
# use sbin for gpdfand service
sudo sed -i "s/\/usr\/local\/bin\/gpdfand/\/usr\/local\/sbin\/gpdfand/" gpdfand.service
# copy gpd fan service files
sudo cp gpdfand.service /etc/systemd/system/gpdfand.service
sudo cp gpdfand /lib/systemd/system-sleep/gpdfand
sudo cp gpdfand.pl /usr/local/sbin/gpdfand
# make log directory
sudo mkdir /var/log/gpdfand
# set permissionss
sudo chmod +x /lib/systemd/system-sleep/gpdfand /usr/local/sbin/gpdfand
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment