Next | Prev | Up | Top | Contents | Index

The save and load Commands

The save command creates a selections file that contains the distribution location and the selections that are in effect when you enter the save command. In subsequent sessions, you can specify the selections file as an argument to the load command to automate the selections process. By default, selections files are saved in the directory in which you invoked Inst, but you can change the directory location by specifying an alternate directory in the filename specification (see the -F option of inst(1M)).

This sample entry creates a selections file in /usr/tmp called select.sav1:

Admin> save
Save selections to file: /usr/tmp/select.sav1
The format of select.sav1 is illustrated in Example 5-9. The first two lines identify the selections file to the Desktop. When users double-click the selections file icon, Software Manager starts, using the selection file. The remaining lines identify the distribution location and the selections to be made (an internal version number appears at the end of each selection item).

#!/usr/sbin/SoftwareManager -F
#Tag 000109B1
from easyboy:/d1/IRIX_6.2/dist
k license_eoe.man.license_eoe 1022130500
r license_eoe.man.relnotes 1022130500
i license_eoe.sw.license_eoe 1022130500
r netls_nodelock.man.relnotes 1022130500
i netls_nodelock.sw.netls_nodelock 1022130500
i netls_root.sw.hdr 1022130500
i netls_root.sw.lib 1022130500

Example 5-9 : Sample Selections File


Next | Prev | Up | Top | Contents | Index