/usr/share/ltsp/plugins/ltsp-build-client/common/001-load-configuration-file 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 | case "$MODE" in
commandline)
add_option "config" "`eval_gettext "load a user specific configuration file"`" "advanced" "true"
;;
configure)
if [ -n "$option_config_value" ]; then
CONFIG="$option_config_value"
elif [ -z "$CONFIG" ] && [ -f "/etc/ltsp/ltsp-build-client.conf" ]; then
CONFIG="/etc/ltsp/ltsp-build-client.conf"
fi
if [ -n "$CONFIG" ]; then
if [ -f "$CONFIG" ]; then
debug "Loading configuration file '$CONFIG'."
. $CONFIG
else
echo "Failed to read file. '$CONFIG' cannot be found."
exit 1
fi
fi
;;
esac
|