Jim Adams wrote:
> 
> I followefd the instructions from the Mandrake Users web page for setting up an
> rc.masq script that is triggered from rc.local at boot time.
> The rc.masq looks like this:
> 
> if [ -x /etc/rc.d/rc.masq ]; then
>     /etc/rc.d/rc.masq
>  fi
> This is what was added to the rc.local file after the last "fi"
> if [ -x /etc/rc.d/rc.masq ] then
> /etc/rc.d/rc.masq

Well, for one, there's a 'fi' missing here...
 
> When I test rc.local with /etc/rc.d/rc.local I receive an error saying
> /etc/rc.d/rc.local : line 47 : syntax error near unexpected token 'fi'
> /etc/rc.d/rc.local : line 47: 'fi'
> What ould the problem be?

Try adding that missing 'fi', first.

-Stephen-

Reply via email to