manpages.info - online man pages   

SunOS man pages : soladdapp (1)

Maintenance Commands                                soladdapp(1M)

NAME

soladdapp - add an application to the Solstice application registry

SYNOPSIS

/usr/snadm/bin/soladdapp [ -r registry ] -n name -i icon -e executable [ args ]

DESCRIPTION

soladdapp adds an application to the Solstice application registry. After it is added, the application is displayed in the Solstice Launcher main window (see solstice(1M)).

OPTIONS

-r registry Define the full path name of the Solstice registry file. -n name Define the name of the tool to be registered. -i icon Define the full path name of the tool icon. -e executable Define the full path name of the tool. args Specify any arguments to use with the tool. When executed without options, soladdapp uses /opt/SUNWadm/etc/.solstice_registry (the default registry path).

RETURN VALUES

0 on success 1 on failure 2 if the registry is locked 3 if the entry is a duplicate.

EXAMPLES

Example 1: A sample display of the soladdapp command. The following adds an application called Disk Manager to the Solstice application registry for display in the Solstice Launcher main window. # soladdapp -r /opt/SUNWadm/etc/.solstice_registry -n "Disk Manager" -i /opt/SUNWdsk/etc/diskmgr.xpm -e /opt/SUNWdsk/bin/diskmgr SunOS 5.8 Last change: 15 Sep 1995 1 Maintenance Commands soladdapp(1M)

FILES

/opt/SUNWadm/etc/.solstice_registry The default registry path.

ATTRIBUTES

See attributes(5) for descriptions of the following attri- butes: ____________________________________________________________ | ATTRIBUTE TYPE | ATTRIBUTE VALUE | |_____________________________|_____________________________| | Availability | SUNWsadml | |_____________________________|_____________________________|

SEE ALSO

soldelapp(1M), solstice(1M), attributes(5)

NOTES

Globally registered applications are used by local and remote users sharing the software in a particular /opt directory. They can be added only using soladdapp. SunOS 5.8 Last change: 15 Sep 1995 2