/usr/share/ltsp/ltsp-info-functions is in ltsp-server 5.5.4-4.
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 | # Debian-specific function overrides for ltsp-info
server_packages() {
echo server packages:
COLUMNS=200 dpkg -l 'ltsp*' 'ldm*' | awk '/ltsp|ldm/{print $1,$2,$3}'
echo
}
chroot_packages() {
chroot=$1
if [ -f $chroot/var/lib/dpkg/status ]; then
echo "packages in chroot: $chroot"
COLUMNS=200 dpkg --root=$chroot -l 'ltsp*' 'ldm*' | awk '/ltsp-client|ldm|ltspfs/{print $1,$2,$3}'
echo
fi
}
chroot_release() {
if [ -x $chroot/usr/bin/lsb_release ]; then
echo "chroot information: $chroot"
ROOT=$chroot ltsp-chroot lsb_release --all
echo
fi
}
|