> > 1. I am installing my aplication binaries at /opt/../bin. I want to > copy > > these application binary files from /opt/../bin to /usr/bin and /sbin. > How > > I can achieve this using script? > > Why would you do that? > > The copy command is 'cp', but I don't think that's really what you > should be doing because /usr/bin and /sbin belong to the *system*, not > to add-on software. > > Instead, the user should be setting his $PATH to include your > /opt/.../bin directory. > If I want to make reference of the application binaries in the form of symbolic link. i.e /opt/../../bin/application file should be binary file and sbin/application or /usr/bin/application will be a symbolic link to /opt/../../bin/application file, then how I can achieve this? Any script I should write for this? At present I am using request,checkinstall and copyright scripts only.
> > 2. To start my application during boot what I need to do? Is any file to > be > > written in init.d/rc2.d/rc3.d ? > > For Solaris 9 and older, yes. For newer, you should be delivering an > SMF manifest instead. > Can you please help me in how to use SMF to start my application at startup on solaris 10? Are there any quick steps to implement this? I read the smf manual but not getting a clear idea of how to use it. Thanks & Regards, Aakash Berde
