/etc/laptop-mode/conf.d/start-stop-programs.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 | #
# Configuration file for Laptop Mode Tools module start-stop-programs.
#
# For more information, consult the laptop-mode.conf(8) manual page.
#
###############################################################################
# Start/Stop Programs settings
# ----------------------------
#
# Laptop mode tools can automatically start and stop programs when entering
# various power modes. Put scripts accepting "start" and "stop" parameters
# in the directories
# /etc/laptop-mode/batt-stop
# /etc/laptop-mode/batt-start
# /etc/laptop-mode/lm-ac-stop
# /etc/laptop-mode/lm-ac-start
# /etc/laptop-mode/nolm-ac-stop
# /etc/laptop-mode/nolm-ac-start
# Laptop mode will call the scripts in a state-"stop" directory with the "stop"
# parameter when entering the state in question, and it will call the same
# scripts with the "start" parameter when leaving the state. Scripts in a
# state-"start" directory are called with the "start" parameter when the
# specified state is entered, and with the "stop" parameter when the specified
# state is left.
#
# Alternatively, if you only want to start/stop services, you can place the
# names of these services in one of the ..._STOP and ..._START config values
# below.
#
#
# IMPORTANT: In versions 1.36 and earlier, these settings were included in the
# main laptop-mode.conf configuration file. If they are still present, they
# overrule the settings in this file. To fix this, simply delete the settings
# from the main config file.
#
###############################################################################
# Enable debug mode for this module
# Set to 1 if you want to debug this module
DEBUG=0
#
# Should laptop mode start and stop programs?
#
CONTROL_START_STOP=1
#
# Services to start/stop depending on the power state.
#
#
# These services are started/stopped through their init scripts, together with
# the files from the directories mentioned above. Specify the services as a
# space separated list.
#
BATT_STOP=""
BATT_START=""
LM_AC_STOP=""
LM_AC_START=""
NOLM_AC_STOP=""
NOLM_AC_START=""
|