The following sections outline how to add admind to scr and xscr client images.
Clone the Image Description Tree you want to use to build the image.
For information on this procedure, see Section 8.4.1, Cloning the Image Description Tree.
To start the xinetd service on the Point of Service terminal, add the following line to the config.system file in the Image Description Tree (/opt/SLES/POS/system/image_name-version/config.system):
sbin/insserv /etc/init.d/xinetd
Create the admind.conf file in the /opt/SLES/POS/system/image_name-version/files-user/ directory.
mkdir -p files-user/etc/opt/SLES/POS vi files-user/etc/opt/SLES/POS/admind.conf
Set the configuration parameters in the admind.conf file.
Set the branch.local parameter to the fully qualified hostname of the Administration or Branch Server that you would like to run adminc on. This allows the terminals to trust the designated box. If you are running adminc from multiple stations, they must be included in this list. For example:
S=branch.local S=branch2.local S=localhost
Add all users with rights to execute commands on Point of Service terminals. For example:
U=root U=lreiss
Add any additional commands you want to execute on the POS terminals. For example:
X:0=/sbin/init 0 X:3=/sbin/init 3 X:5=/sbin/init 5 X:6=/sbin/init 6 X:p=/sbin/poweroff X:r=/sbin/reboot
Build the image with the --extend option to include the setup.admind file.
NOTE:The setup.admind file is located in the /opt/SLES/POS/system/templates/addons/ directory. It references the RPMs required to add the admind utility to a standard client image.
The basic syntax is as follows (type the command all on one line):
scr --build --prepare --extend /opt/SLES/POS/system/templates/addons/setup.admind --image image_name-version --destdir destination_directory
For more information on this procedure, see Section 8.4.2, Adding Software Packages or Add-on Options to an Image.
Distribute the image to your Point of Service terminals.
For information on this procedure, see Section 8.5, Distributing Images .
Clone the Image Description Tree you want to use to build the image.
For information on this procedure, see Section 9.4.1, Cloning the Image Description Tree.
Add admind.xml to the IncludeSpecificationsList in the Image Specification Document (/opt/SLES/POS/system/image_name-version/ImageSpecification.xml):
NOTE:The admind.xml Image Specification Document is located in the /opt/SLES/POS/system/templates/addons/ directory. It references the RPMs required to add the admind utility to a client image.
The basic syntax is as follows:
<IncludeSpecificationList> <IncludeSpecification URI="/opt/SLES/POS/system/templates /addons/admind.xml"/> </IncludeSpecificationList>
For information on this procedure, see Adding Features to Client Images.
To start the xinetd service on the Point of Service terminal, add the following line to the config.system file in the Image Description Tree (/opt/SLES/POS/system/image_name-version/config.system):
sbin/insserv /etc/init.d/xinetd
Create the admind.conf file in the /opt/SLES/POS/system/image_name-version/files-user/ directory.
mkdir -p files-user/etc/opt/SLES/POS vi files-user/etc/opt/SLES/POS/admind.conf
Set the configuration parameters in the admind.conf file.
Set the branch.local parameter to the fully qualified hostname of the Administration or Branch Server that you would like to run adminc on. This allows the terminals to trust the designated box. If you are running adminc from multiple stations, they must be included in this list. For example:
S=branch.local S=branch2.local S=localhost
Add all users with rights to execute commands on Point of Service terminals. For example:
U=root U=lreiss
Add any additional commands you want to execute on the POS terminals. For example:
X:0=/sbin/init 0 X:3=/sbin/init 3 X:5=/sbin/init 5 X:6=/sbin/init 6 X:p=/sbin/poweroff X:r=/sbin/reboot
Build the image.
The basic syntax is as follows:
xscr --prepare --image image_name-version --build --destdir destination_directory
For information on this procedure, see Section 9.4.4, Building the Image.
Distribute the image to your Point of Service terminals.
For information on this procedure, see Section 8.5, Distributing Images .