This file is indexed.

/etc/laptop-mode/conf.d/configuration-file-control.conf is in laptop-mode-tools 1.60-1ubuntu1.

This file is owned by root:root, with mode 0o644.

The actual contents of the file can be viewed below.

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
#
# Configuration file for Laptop Mode Tools module configuration-file-control.
#
# For more information, consult the laptop-mode.conf(8) manual page.
#

###############################################################################
# Configuration file control
# --------------------------
#
# Laptop mode tools can automatically swap out configuration files depending on
# the power state of your system.
# 
# The primary use for this feature is for controlling the configuration files
# of syslog daemons. Syslog daemons have a tendency to sync their log files when
# entries are written to them. This causes disks to spin up, which is not very
# nice when you're trying to save power. The syslog.conf can be tweaked to *not*
# sync a given file, by prepending the log file name with a dash, like this:
#
# 	mail.*		-/var/log/mail/mail.log
#
# Using the following options, you can let laptop mode switch between
# different configurations depending on whether you are working on
# battery or on AC power.
#
#
# IMPORTANT NOTE
# --------------
#
# This feature will NOT work if CONTROL_SYSLOG_CONF is set in laptop-mode.conf.
# To start using this feature, remove the CONTROL_SYSLOG_CONF section in
# laptop-mode.conf, and then restart the laptop-mode-tools service.
#
# Note that the new config files will have different names than the old ones,
# and that settings are NOT migrated. You will have to do this manually.
#
###############################################################################

# Enable debug mode for this module
# Set to 1 if you want to debug this module
DEBUG=0

#
# Should laptop mode tools control which configuration files should be used?
#
CONTROL_CONFIG_FILES=0


#
# Specify the configuration files that you want to control, as a space-separated
# list.
#
# The specific configuration files will be named as follows:
#
#     <config file>-nolm-ac
#     <config file>-lm-ac
#     <config file>-batt
#
# The first file will be used when the system is on AC power and laptop mode
# is not active. The second file will be used when the system is on AC power and
# laptop mode is active. The third file will be used when the system is on
# battery power.
#
# When the laptop mode tools service is enabled, it will replace the
# configuration files with a symlink to one of the three state-based
# configuration files. The original configuration file will be saved as
# <config file>.lmbackup, and it will be restored when the laptop mode tools
# service is disabled.
#
# When you add files to this list, make sure to also add the appropriate
# programs and services to the configuration settings below.
#
# You can create the alternate configuration files yourself. If you don't, they
# will be created by laptop mode tools the next time it is restarted. To force
# the files to be created, run the laptop mode tools init script with the
# "restart" parameter.
#
CONFIG_FILES="/etc/syslog.conf /etc/syslog-ng/syslog-ng.conf /etc/rsyslog.conf"


#
# Signal these programs and reload these services when configuration files hav
# been replaced.
#
# Programs in CONFIG_FILE_SIGNAL_PROGRAMS receive the SIGHUP signal after
# configuration files have been replaced. All common syslog daemons interpret
# this as an instruction to reload their config files, it may work for other
# daemons as well but your mileage may vary.
#
# For services listed in CONFIG_FILE_RELOAD_SERVICES, laptop mode tools will
# call the init script with the "reload" parameter after configuration files
# have been replaced.
#
CONFIG_FILE_SIGNAL_PROGRAMS="syslogd syslog-ng rsyslogd"
CONFIG_FILE_RELOAD_SERVICES=""