|
|
OSA registration is accomplished with the osaconf(1M) command and is typically executed in a package postinstall script.
The following syntax registers an OSA written in Tcl:
osaconf -A vendor $OSANAME LOOP_BACK sco_Tcl_osa $OSAPATH
This syntax registers an OSA written in C or C++:
osaconf -A vendor $OSANAME LOCAL_PIPE sco_C_osa $OSAPATH
For example, the printer OSA is registered with this script:
echo "Registering the Printer OSA with SCOadmin" osaconf -A sco printerOsa LOOP_BACK sco_Tcl_osa \ /usr/lib/scoadmin/printer/printerOsa