The UNIX and Linux Forums  

Go Back   The UNIX and Linux Forums > Top Forums > UNIX for Dummies Questions & Answers
Google UNIX.COM


UNIX for Dummies Questions & Answers If you're not sure where to post a UNIX or Linux question, post it here. All UNIX and Linux newbies welcome !!

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
initscript questions urwannabefriend UNIX for Dummies Questions & Answers 5 04-04-2004 09:19 PM
initscript urwannabefriend UNIX for Dummies Questions & Answers 2 03-28-2004 09:51 AM

Reply
 
Submit Tools LinkBack Thread Tools Search this Thread Display Modes
  #1  
Old 04-10-2004
Registered User
 

Join Date: Mar 2004
Location: india
Posts: 4
initscript again

hi...thanx all of you for clearing out my previous doubts....but i have some more
in the following,
reload() {
echo -n $"Reloading cron daemon configuration: "
killproc crond -HUP
retval=$?
echo
return $RETVAL

1. why is echo used here without any arguments???
2.what does the argument -HUP do here?

this is the crond script....
any answers???

also if i have to write my own server startup script, what should i do?
__________________
the future is open
Reply With Quote
Forum Sponsor
  #2  
Old 04-10-2004
kduffin's Avatar
UN1X
 

Join Date: Nov 2003
Location: Virginia
Posts: 441
1. It appears that echo is just being used to throw a newline.
2. As for the kill -HUP. Take a look at a brief outlook from man -s 3head signal

SIGHUP 1 Exit Hangup (see termio(7I))

A Hangup tells most daemons to re-read their configuration files.

Keith
Reply With Quote
Google The UNIX and Linux Forums
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes




All times are GMT -7. The time now is 02:53 AM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited.
The UNIX and Linux Forums Content Copyright ©1993-2008. All Rights Reserved.Ad Management by RedTyger Visit The Complex Event Processing Blog

Content Relevant URLs by vBSEO 3.2.0