Good morning Simon here is a copy of the script. On 9 August 2010 13:49, Simon Vass <[email protected]> wrote: > Roy, > > Is the script properly formatted with a start: stop: section? Can you post it > as an attachment? > > > > Simon Vass > Technical Manager > E-Tech Uganda Ltd > > http://www.etech.ug > Tel: +256 (0) 312260620 or (0) 312260621 > email: [email protected] > skype: e-techservicedesk > > > ----- Original Message ----- > From: "roy mukasa" <[email protected]> > To: "Linux Users Group Uganda" <[email protected]> > Sent: Monday, August 9, 2010 11:48:46 AM GMT +03:00 Iraq > Subject: Re: [LUG] Automating a script in linux > > When i use the chkconfig command that i know it says > service <script name.sh> does not support chkconfig > > On 9 August 2010 11:39, Joseph Abdi <[email protected]> wrote: >> /sbin/chkconfig <script-name> on >> >> >> On Mon, 09 Aug 2010 11:26:16 +0300, roy mukasa <[email protected]> wrote: >> >>> Hey guys have a quick one, ok after i have written a script in linux >>> and i would want it to start automatically when a computer is >>> restarted, what can i do? i Have managed to add the script to >>> /etc/init.d/ then i have also run the command chmod +x <script name> >>> to make it executable. So what else can i do to make the script run >>> automatically when the computer is restarted? >>> >>> Regards >> >> >> -- >> Should you require technical assistance, >> please do not hesitate to contact us directly at http://www.support311.com >> >> Kind Regards, >> >> Abdi Joseph >> Jolis | Support | Dept. >> >> "100% Customer Service! - 100% of the Time!" >> >> USA >> +-------------------------------- >> 710 North Tucker Blvd. >> Suite 610A St. Louis, >> MO 63101 USA >> USA: +151.43.794409 >> Fax: +1-309-418-9893 >> --------------------------------+ >> >> UGANDA: >> +-------------------------------- >> Plot 22 Namanve, Akright III Estate >> P.O. BOX 22930, Kampala, >> Uganda, EA. >> Tel1: +256.792.JOSEPH >> Tel2: +256.752.JOSEPH >> Tel3: +256.712.JOSEPH >> Tel4: +256.312.280643 >> Tel5: +256.414.577227 >> Fax: +1.309-418-9893 >> --------------------------------+ >> >> LIVE SUPPORT: >> +-------------------------------- >> http://www.support311.com >> http://www.jolis.net >> --------------------------------+ >> _______________________________________________ >> LUG mailing list >> [email protected] >> http://kym.net/mailman/listinfo/lug >> >> LUG is generously hosted by INFOCOM http://www.infocom.co.ug/ >> >> All Archives can be found at http://www.mail-archive.com/[email protected]/ >> >> The above comments and data are owned by whoever posted them (including >> attachments if any). The List's Host is not responsible for them in any way. >> --------------------------------------- >> >> > > > > -- > Roy Mukasa > MUK FCIT > +256774291110 > _______________________________________________ > LUG mailing list > [email protected] > http://kym.net/mailman/listinfo/lug > > LUG is generously hosted by INFOCOM http://www.infocom.co.ug/ > > All Archives can be found at http://www.mail-archive.com/[email protected]/ > > The above comments and data are owned by whoever posted them (including > attachments if any). The List's Host is not responsible for them in any way. > --------------------------------------- > > _______________________________________________ > LUG mailing list > [email protected] > http://kym.net/mailman/listinfo/lug > > LUG is generously hosted by INFOCOM http://www.infocom.co.ug/ > > All Archives can be found at http://www.mail-archive.com/[email protected]/ > > The above comments and data are owned by whoever posted them (including > attachments if any). The List's Host is not responsible for them in any way. > --------------------------------------- > >
-- Roy Mukasa MUK FCIT +256794291110
link_monitor.sh
Description: Bourne shell script
_______________________________________________ LUG mailing list [email protected] http://kym.net/mailman/listinfo/lug LUG is generously hosted by INFOCOM http://www.infocom.co.ug/ All Archives can be found at http://www.mail-archive.com/[email protected]/ The above comments and data are owned by whoever posted them (including attachments if any). The List's Host is not responsible for them in any way. ---------------------------------------
