Quote:
|
Originally Posted by Ambikesh
Code:
startApache="/usr/local/apache2/bin/apachectl start"
if [ -f "$startApache" ] ; then
. $startApache
fi
OR
Code:
action=start
apache="/usr/local/apache2/bin/apachectl"
if [ -f "$apache" ] ; then
. $apache $action
fi
|
Hi All,
the 1st one didn't work, but the 2nd one did. Why wouldn't the 1st one work? Cheers.
coolboarderguy...