8 changed files with 11 additions and 26 deletions
@ -1,2 +0,0 @@
|
||||
./zenstates.py |
||||
./zenstates.service |
@ -1,17 +0,0 @@
|
||||
# Automatically added by dh_installsystemd/13 |
||||
if [ "$1" = "configure" ] || [ "$1" = "abort-upgrade" ] || [ "$1" = "abort-deconfigure" ] || [ "$1" = "abort-remove" ] ; then |
||||
# This will only remove masks created by d-s-h on package removal. |
||||
deb-systemd-helper unmask 'zenstates.service' >/dev/null || true |
||||
|
||||
# was-enabled defaults to true, so new installations run enable. |
||||
if deb-systemd-helper --quiet was-enabled 'zenstates.service'; then |
||||
# Enables the unit on first installation, creates new |
||||
# symlinks on upgrades if the unit file has changed. |
||||
deb-systemd-helper enable 'zenstates.service' >/dev/null || true |
||||
else |
||||
# Update the statefile to add new symlinks (if any), which need to be |
||||
# cleaned up on purge. Also remove old symlinks. |
||||
deb-systemd-helper update-state 'zenstates.service' >/dev/null || true |
||||
fi |
||||
fi |
||||
# End automatically added section |
@ -1,5 +0,0 @@
|
||||
# Automatically added by dh_installsystemd/13 |
||||
if [ -d /run/systemd/system ] && [ "$1" = remove ]; then |
||||
deb-systemd-invoke stop 'zenstates.service' >/dev/null || true |
||||
fi |
||||
# End automatically added section |
@ -1,2 +1,3 @@
|
||||
zenstates.py /usr/sbin/ |
||||
zenstates.service /lib/systemd/system/ |
||||
debian/zenstates.conf /etc/modules-load.d/ |
@ -0,0 +1,2 @@
|
||||
## load msr module for being able to disable C6 state on Ryzen processor |
||||
msr |
Loading…
Reference in new issue