This file is indexed.

/usr/share/ltsp/plugins/ltsp-build-client/ALTLinux/040-kernel is in ltsp-server 5.4.2-6+deb7u1.

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
case "$MODE" in
    commandline)
        add_option "kernel" "`eval_gettext "set the kernel package to install."`" "advanced" "true"
        ;;
    configure)
        if [ -n "$option_kernel_packages_value" ]; then
            KERNEL="$(echo $option_kernel_value | tr ',' ' ')"
        fi
	if [ -z "$KERNEL" -o "$KERNEL" = "kernel-image" ]; then
	    KERNEL="kernel-image-std-smp"
	elif [ "$KERNEL" = "${KERNEL#kernel-image-}" ]; then
	    KERNEL="kernel-image-$KERNEL"
	fi
	;;
    install)
	$PROGRESS plugin
	if [ "$KERNEL" = "${KERNEL/\#}" ]; then
	    KERNEL_PACKAGES=$($SETARCH chroot $ROOT apt-cache -qq pkgnames "${KERNEL}#")
	    KERNEL_VER=""
	    for K in $KERNEL_PACKAGES; do
	        KV="${K#*\#}"
	        [ $(rpmvercmp "$KERNEL_VER" "$KV") = "1" ] || KERNEL_VER="$KV"
	    done
	    KERNEL="$KERNEL#$KERNEL_VER"
	fi
	$SETARCH chroot $ROOT apt-get $APT_VERBOSE $APT_GET_OPTS install "$KERNEL" >&2
	$PROGRESS 820
        ;;
esac