This file is indexed.

/etc/laptop-mode/conf.d/ethernet.conf is in laptop-mode-tools 1.64-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
#
# Configuration file for Laptop Mode Tools module ethernet.
#
# For more information, consult the laptop-mode.conf(8) manual page.
#


###############################################################################
# Ethernet power saving settings
# ------------------------------
#
#__COMMENT There are various ways to save power with ethernet. This section allows you
#__COMMENT to control the speed of your ethernet connection, and your wakeup-on-LAN
#__COMMENT settings. Both these things can have quite a power impact if you use Ethernet.
#__COMMENT 
#__COMMENT Note: Changing ethernet device speed may require link up/down on some devices.
#__COMMENT This might lead to connection to be re-initialized
#
###############################################################################

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

# Control Ethernet settings?
CONTROL_ETHERNET="auto"

# Handle throttling of the ethernet deivce under specific circumstances
BATT_THROTTLE_ETHERNET=0
LM_AC_THROTTLE_ETHERNET=0
NOLM_AC_THROTTLE_ETHERNET=0


# Speed to throttle to when throttling is set
# Please use the desired throttle value as reported by ethtool and set it accordingly
# To get the speed capacity supported by your ethernet card, as user "root" run
# "ethtool eth0", where eth0 is your physical ethernet device.
# Example:
# Set speed to 100Mbps.
# THROTTLE_SPEED=100
#
# Throttle ethernet to the lowest available speed of the ethernet device
# THROTTLE_SPEED="slowest"
#
# Throttle ethernet to the fastest available speed of the ethernet device
# This can be helpful when you want to control the speed, even when on battery
# THROTTLE_SPEED="fastest"
#
# Note: If you don't know how to find the speed of your ethernet card, leave the
# following values as it is.
THROTTLE_SPEED="slowest"

# Disable wakeup-on-LAN? This will disable wakeup-on-LAN unconditionally,
# independent of battery power. It will save power while your laptop is turned
# off or in standby mode.
DISABLE_WAKEUP_ON_LAN=1

# A list of the ethernet devices that should be controlled.
ETHERNET_DEVICES="eth0"


# In practise, most of the times a user is on battery, she is using the wireless device
# Under such cases, you might want to disable your ethernet device completely, when
# on battery.
# If that is the case, set below setting to 1
DISABLE_ETHERNET_ON_BATTERY=0