Put prompt.sh in "/etc/profile.d" or any other place suitable for the target system to have it load when a user logs in.
In case the target system does not have a /etc/profile.d you can create it:
mkdir /etc/profile.d
It may be necessary to make it executeable:
chmod +x /etc/profile.d/prompt.sh
Then you may have to add the following to /etc/profile to load files in this directory:
for i in /etc/profile.d/*.sh ; do if [ -r "$i" ]; then . $i fi done
Configuration is done via a "platform" file in "/etc/sysconfig" or "/etc/default".