Install Super X kernel module in setup script

This commit is contained in:
Kay Türtscher 2026-04-28 19:58:15 +02:00
parent 15b2c131b2
commit bde8e1968b
2 changed files with 5 additions and 1 deletions

View file

@ -84,7 +84,7 @@ make dkms
## Install On Linux
Install the client tools, fan-control service, and GNOME extension:
Install the running-kernel module, client tools, fan-control service, and GNOME extension:
```shell
./install.sh

View file

@ -7,6 +7,10 @@ TARGET_GROUP="$(id -gn "$TARGET_USER")"
EXTENSION_UUID="oxp-fan-profiles@ps1x"
EXTENSION_DIR="$(eval echo "~$TARGET_USER")/.local/share/gnome-shell/extensions/$EXTENSION_UUID"
echo "Installing OXP kernel module for the running kernel..."
make -C "$REPO_DIR"
sudo make -C "$REPO_DIR" modules_install
echo "Installing OXP fan control daemon..."
sudo install -Dm755 "$REPO_DIR/oxp-fan-control.py" /usr/local/bin/oxp-fan-control.py
sudo install -Dm755 "$REPO_DIR/oxp-fan-profile.py" /usr/local/bin/oxp-fan-profile