From b87a49a217d9277eddca93ed7b08d0fda665b588 Mon Sep 17 00:00:00 2001 From: Aryadev Chavali Date: Mon, 3 Nov 2025 01:35:08 +0000 Subject: v2.0.0: rename of script --- install.sh | 12 ++++++------ lian-li-fancontrol.service | 9 --------- lian-li-fancontrol.timer | 11 ----------- uni-sync-temp-timer.service | 9 +++++++++ uni-sync-temp-timer.timer | 11 +++++++++++ 5 files changed, 26 insertions(+), 26 deletions(-) delete mode 100644 lian-li-fancontrol.service delete mode 100644 lian-li-fancontrol.timer create mode 100644 uni-sync-temp-timer.service create mode 100644 uni-sync-temp-timer.timer diff --git a/install.sh b/install.sh index 281e4fc..cdbeac6 100644 --- a/install.sh +++ b/install.sh @@ -6,12 +6,12 @@ set -xe uni-sync # setup our basic scripts -ln -sf $(pwd)/main.py /usr/local/bin/lian-li-fancontrol -mkdir -p /etc/lian-li-fancontrol -ln -sf $(pwd)/curves.json /etc/lian-li-fancontrol/curves.json +ln -sf $(pwd)/main.py /usr/local/bin/uni-sync-temp-timer +mkdir -p /etc/uni-sync-temp-timer +ln -sf $(pwd)/curves.json /etc/uni-sync-temp-timer/curves.json # systemd services -ln -sf $(pwd)/lian-li-fancontrol.service /etc/systemd/system/ -ln -sf $(pwd)/lian-li-fancontrol.timer /etc/systemd/system/ +ln -sf $(pwd)/uni-sync-temp-timer.service /etc/systemd/system/ +ln -sf $(pwd)/uni-sync-temp-timer.timer /etc/systemd/system/ systemctl daemon-reload -systemctl enable --now lian-li-fancontrol.service +systemctl enable --now uni-sync-temp-timer.service diff --git a/lian-li-fancontrol.service b/lian-li-fancontrol.service deleted file mode 100644 index f587332..0000000 --- a/lian-li-fancontrol.service +++ /dev/null @@ -1,9 +0,0 @@ -[Unit] -Description=Run the Lian Li Fancontrol software every 30s - -[Service] -Type=oneshot -ExecStart=/usr/local/bin/lian-li-fancontrol - -[Install] -WantedBy=default.target \ No newline at end of file diff --git a/lian-li-fancontrol.timer b/lian-li-fancontrol.timer deleted file mode 100644 index f4a92da..0000000 --- a/lian-li-fancontrol.timer +++ /dev/null @@ -1,11 +0,0 @@ -[Unit] -Description=Run the Lian Li Fancontrol software every 30s - -[Timer] -OnBootSec=5s -OnUnitActiveSec=5s -AccuracySec=1ms -Unit=lian-li-fancontrol.service - -[Install] -WantedBy=timers.target \ No newline at end of file diff --git a/uni-sync-temp-timer.service b/uni-sync-temp-timer.service new file mode 100644 index 0000000..f587332 --- /dev/null +++ b/uni-sync-temp-timer.service @@ -0,0 +1,9 @@ +[Unit] +Description=Run the Lian Li Fancontrol software every 30s + +[Service] +Type=oneshot +ExecStart=/usr/local/bin/lian-li-fancontrol + +[Install] +WantedBy=default.target \ No newline at end of file diff --git a/uni-sync-temp-timer.timer b/uni-sync-temp-timer.timer new file mode 100644 index 0000000..f4a92da --- /dev/null +++ b/uni-sync-temp-timer.timer @@ -0,0 +1,11 @@ +[Unit] +Description=Run the Lian Li Fancontrol software every 30s + +[Timer] +OnBootSec=5s +OnUnitActiveSec=5s +AccuracySec=1ms +Unit=lian-li-fancontrol.service + +[Install] +WantedBy=timers.target \ No newline at end of file -- cgit v1.2.3-13-gbd6f