about summary refs log tree commit diff
path: root/etc/conf.d/smapi
diff options
context:
space:
mode:
authorAzat Bahawi <azat@bahawi.net>1970-01-01 03:00:00 +0300
committerAzat Bahawi <azat@bahawi.net>2022-09-20 11:52:07 +0300
commit962c35425636e3f942fd8a624369a7c53748f47e (patch)
treec69e76f6c4cdd7f9f66d02a02ee683fe4d5426e7 /etc/conf.d/smapi
chore: init HEAD master
Diffstat (limited to '')
-rw-r--r--etc/conf.d/smapi20
1 files changed, 20 insertions, 0 deletions
diff --git a/etc/conf.d/smapi b/etc/conf.d/smapi
new file mode 100644
index 0000000..9a6ed94
--- /dev/null
+++ b/etc/conf.d/smapi
@@ -0,0 +1,20 @@
+# /etc/conf.d/smapi: config file for /etc/init.d/smapi
+
+# use '/etc/init.d/smapi info' at any time to check the thresholds
+# currently used by the driver
+# Note that the kernel does some sanity checking on the values and
+# will not accept any combination of values you may try to set up.
+# (i.e. stop value lower than start) So if the output of info does
+# not match what you wanted the driver probably did not like your
+# configuration.
+
+# default thresholds for '/etc/init.d/smapi start'
+SMAPI_THRESH_START="0"
+SMAPI_THRESH_STOP="100"
+# values to be used for '/etc/init.d/smapi low'
+SMAPI_LOW_THRESH_START="${SMAPI_THRESH_START}"
+SMAPI_LOW_THRESH_STOP="${SMAPI_THRESH_STOP}"
+
+# values to be used for '/etc/init.d/smapi high'
+SMAPI_HIGH_THRESH_START="0"
+SMAPI_HIGH_THRESH_STOP="100"

Consider giving Nix/NixOS a try! <3