/usr/share/ltsp/plugins/ltsp-build-client/Redhat/030-fat-client is in ltsp-server 5.5.7-1.
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 | case "$MODE" in
commandline)
# Add a command line switch to ltsp-build-client that installs desktop
# yum groups so that diskless workstations can everything locally
add_option "fat-client" "`eval_gettext "run most or all applications locally"`" "advanced" "false"
;;
configure)
if [ "true" = "$option_fat_client_value" ]; then
export FAT_CLIENT=True
else
# If fat client isn't enabled, just continue
return 0
fi
;;
after-install)
if [ ! "$FAT_CLIENT" ]; then
return 0
fi
if [ -f "/etc/ltsp/fat-client-groups" ]; then
# Install the packages
while read line; do
echo installing "$line"
$MOCK_CMD --shell yum groupinstall \'$line\'
done < /etc/ltsp/fat-client-groups
$MOCK_CMD --shell yum remove NetworkManager PackageKit gdm
fi
;;
esac
|