The UNIX and Linux Forums  


Go Back   The UNIX and Linux Forums > Top Forums > Shell Programming and Scripting
.
google unix.com




View Single Post in the UNIX and Linux Forums - Click on the Thread or Permalink to View Entire Thread -->
  #1 (permalink)  
Old 06-24-2006
coolboarderguy coolboarderguy is offline
Registered User
  
 

Join Date: Dec 2005
Posts: 7
. $startApache wrong syntax?

Hi All,

why doesn't this code start apache at boot?

Cheers.

coolboarderguy...

startApache=/usr/local/apache2/bin/apachectl start
if [ -f "$startApache" ] ; then
. $startApache
fi