This file is indexed.

/usr/share/laptop-mode-tools/modules/terminal-blanking is in laptop-mode-tools 1.60-1ubuntu1.

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

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
#! /bin/sh
#
# Laptop mode tools module: virtual terminal blanking
#

# Set terminal blanking/powerdown timeouts
if [ x$CONTROL_TERMINAL = x1 ] || [ x$ENABLE_AUTO_MODULES = x1 -a x$CONTROL_TERMINAL = xauto ]; then
	if [ $ON_AC -eq 1 ]; then
		if [ "$ACTIVATE" -eq 1 ]; then
			BLANK_MINUTES="$LM_AC_TERMINAL_BLANK_MINUTES"
			POWERDOWN_MINUTES="$LM_AC_TERMINAL_POWERDOWN_MINUTES"
		else
			BLANK_MINUTES="$NOLM_AC_TERMINAL_BLANK_MINUTES"
			POWERDOWN_MINUTES="$NOLM_AC_TERMINAL_POWERDOWN_MINUTES"
		fi
	else
		BLANK_MINUTES="$BATT_TERMINAL_BLANK_MINUTES"
		POWERDOWN_MINUTES="$BATT_TERMINAL_POWERDOWN_MINUTES"
	fi
	log "VERBOSE" "Set terminal blanking timeout to $BLANK_MINUTES min, powerdown timeout to $POWERDOWN_MINUTES min."
	for THISTERMINAL in $TERMINALS ; do
		if [ -e $THISTERMINAL ] ; then
			log "VERBOSE" "Terminal $THISTERMINAL found, adjusting."
			TERM=linux setterm -blank "$BLANK_MINUTES" -powerdown "$POWERDOWN_MINUTES" > $THISTERMINAL
		else
			log "VERBOSE" "Terminal $THISTERMINAL does not exist."
		fi
	done
else
	log "VERBOSE" "CONTROL_TERMINAL is disabled, skipping..."
fi