aboutsummaryrefslogtreecommitdiffstats
path: root/package/libs/sysfsutils/files/sysfs.conf
diff options
context:
space:
mode:
authorRodolfo Giometti <giometti@linux.it>2017-06-28 10:49:01 +0200
committerJohn Crispin <john@phrozen.org>2018-05-22 20:47:20 +0200
commit2437e0f67050cad79cc1778b18cefd8d3cd86d07 (patch)
treef92930d886c236119a313ca0c2e88ed021771e70 /package/libs/sysfsutils/files/sysfs.conf
parenta436ef992d26768652e5a76d9e0983377adfc89b (diff)
downloadupstream-2437e0f67050cad79cc1778b18cefd8d3cd86d07.tar.gz
upstream-2437e0f67050cad79cc1778b18cefd8d3cd86d07.tar.bz2
upstream-2437e0f67050cad79cc1778b18cefd8d3cd86d07.zip
package sysfsutils: add support for sysfs settings at boot
This patch is based on sysfsutils package's behaviour on Debian OS. Signed-off-by: Rodolfo Giometti <giometti@linux.it>
Diffstat (limited to 'package/libs/sysfsutils/files/sysfs.conf')
-rw-r--r--package/libs/sysfsutils/files/sysfs.conf22
1 files changed, 22 insertions, 0 deletions
diff --git a/package/libs/sysfsutils/files/sysfs.conf b/package/libs/sysfsutils/files/sysfs.conf
new file mode 100644
index 0000000000..f03246284f
--- /dev/null
+++ b/package/libs/sysfsutils/files/sysfs.conf
@@ -0,0 +1,22 @@
+#
+# /etc/sysfs.conf - Configuration file for setting sysfs attributes.
+#
+# The sysfs mount directory is automatically prepended to the attribute paths.
+#
+# Syntax:
+# attribute = value
+# mode attribute = 0600 # (any valid argument for chmod)
+# owner attribute = root:wheel # (any valid argument for chown)
+#
+# Examples:
+#
+# Always use the powersave CPU frequency governor
+# devices/system/cpu/cpu0/cpufreq/scaling_governor = powersave
+#
+# Use userspace CPU frequency governor and set initial speed
+# devices/system/cpu/cpu0/cpufreq/scaling_governor = userspace
+# devices/system/cpu/cpu0/cpufreq/scaling_setspeed = 600000
+#
+# Set permissions of suspend control file
+# mode power/state = 0660
+# owner power/state = root:power