Make a shell script like the ones in /usr/local/etc/rc.d to start and stop the process.
The script MUST be named whatever.sh and must be executable. It must accept start and stop as parameters. This is the general solution. There is probably a doc reference for it but I havent looked. mjt On Mon, 2004-05-24 at 07:58, Gerard Seibert wrote: > Since I am still new to this OS, I thought that I would check to make sure > that I am doing this correctly. > > On my WinXP machine, I run the Distributed Net 'dnetc' program. Further > information regarding this program is available here: > http://www.distributed.net//docs/tutor_clients.php. > > To start the program in the background I need to issue the following > command: 'dnetc -quiet'. Since I want to start this program automatically > each time I log on, I placed that command at the end of my '.bash_profile' > file. I then placed the shutdown command 'dnetc -shutdown' in the > '/etc/rc.shutdown' file. > > Since everything seems to be workings correctly, I assume that I have done > this correctly. If there is a better way to do this, I would appreciate > receiving the information. > > Thanks! > > Gerard E. Seibert > [EMAIL PROTECTED] > > > > _______________________________________________ > [EMAIL PROTECTED] mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "[EMAIL PROTECTED]" > > ************************************************************************ > This Email has been scanned for Viruses by MailMarshal. > ************************************************************************ -- Murray Taylor Special Projects Engineer --------------------------------- Bytecraft Systems & Entertainment P: +61 3 8710 2555 F: +61 3 8710 2599 D: +61 3 9238 4275 M: +61 417 319 256 E: [EMAIL PROTECTED] or visit us on the web http://www.bytecraftsystems.com http://www.bytecraftentertainment.com ************************************************************************ This Email has been scanned for Viruses by MailMarshal. ************************************************************************ _______________________________________________ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
