Become root.
Register an application with the soladdapp command.
# /usr/snadm/bin/soladdapp \
-r /opt/SUNWadm/etc/.solstice_registry \
-n "Tool Name" \
-i /opt/pkgname/etc/tool.icon \
-e /opt/pkgname/bin/command args
|
In this command,
|
/usr/snadm/bin/soladdapp |
Is the Solstice command for registering applications. |
|
-r /opt/SUNWadm/etc /.solstice_registry |
Specifies the path name of the Solstice global registry file. |
|
-n "Tool Name" |
Specifies the name of the tool to be registered. |
|
-i /opt/pkgname/etc/tool.icon |
Specifies the path name of the tool icon. |
|
-e /opt/pkgname/bin/command |
Specifies the path name of the tool executable. |
|
args |
Specifies optional arguments to use with the executable. |
The following example uses the soldaddapp command to globally register an application called Mail Manager.
# /usr/snadm/bin/soladdapp \
-r /opt/SUNWadm/etc/.solstice_registry \
-n "Mail Manager" \
-i /opt/SUNWdsk/etc/diskmgr.xpm \
-e /opt/SUNWdsk/bin/diskmgr
|