Did the following:
It worked fine. I then copied the rc file and the conf file to /etc from /usr/local/etc and make the appropriate changes.
(I like them there)
I then altered my /etc/rc.conf:
Then I try to start Proftpd:
Figuring I might have made an error while copying, I try to run the original in /usr/local/etc/rc.d:
Any ideas? I know it says "EOF unexpected", but I don't even know what file it's talking about!
Code:
cd /usr/ports/ftp/proftpd/
make install clean
It worked fine. I then copied the rc file and the conf file to /etc from /usr/local/etc and make the appropriate changes.
Code:
cp /usr/local/etc/rc.d/proftpd /etc/rc.d
cp /usr/local/etc/proftpd.conf /etc
I then altered my /etc/rc.conf:
Code:
###############################
#
# Services
sshd_enable="YES"
ftpd_enable="NO"
natd_enable="NO"
inetd_enable="NO"
proftpd_enable="YES"
proftpd_flags="<set as needed>"
Then I try to start Proftpd:
Code:
[root@BSD]/etc/rc.d-> ./proftpd start
Starting proftpd.
eval: 1: Syntax error: end of file unexpected
[root@BSD]/etc/rc.d->
Figuring I might have made an error while copying, I try to run the original in /usr/local/etc/rc.d:
Code:
[root@BSD]/usr/local/etc/rc.d-> ./proftpd start
Starting proftpd.
eval: 1: Syntax error: end of file unexpected
[root@BSD]/usr/local/etc/rc.d->
Any ideas? I know it says "EOF unexpected", but I don't even know what file it's talking about!