Версия
Раньше был 6.3 обновлял по статье Лисяры (Спасибо огромное ему!)
Код: Выделить всё
[root@xeon /home/irvis]# uname -a
FreeBSD xeon.local 7.0-RELEASE FreeBSD 7.0-RELEASE #7: Tue Mar 11 20:01:38 MSK 2008 irvis@xeon.local:/usr/obj/usr/src/sys/IRVIS i386
Код: Выделить всё
[root@xeon /home/irvis]# ls -l /usr/local/etc/rc.d/
-r-xr-xr-x 1 root wheel 670 Dec 26 21:46 proftpd
Код: Выделить всё
#DEBUG
rc_debug="YES"
rc_info="YES"
# SOFT
linux_enable="YES"
sshd_enable="YES"
named_enable="YES"
ipnat_enable="YES"
ipfilter_enable="YES"
ipmon_enable="YES"
gateway_enable="YES"
proftpd_enable="YES"
Код: Выделить всё
...
Dec 26 22:30:12 xeon kernel: ad6: 476940MB <SAMSUNG HD501LJ CR100-13> at ata3-master SATA150
Dec 26 22:30:12 xeon kernel: SMP: AP CPU #1 Launched!
Dec 26 22:30:12 xeon kernel: Trying to mount root from ufs:/dev/ad0s1a
Dec 26 22:30:12 xeon kernel: WARNING: / was not properly dismounted
Dec 26 22:30:12 xeon kernel: WARNING: /tmp was not properly dismounted
Dec 26 22:30:12 xeon kernel: WARNING: /usr was not properly dismounted
Dec 26 22:30:12 xeon kernel: WARNING: /var was not properly dismounted
Dec 26 22:30:12 xeon kernel: WARNING: /usr/local/mnt1 was not properly dismounted
Dec 26 22:30:12 xeon kernel: WARNING: /usr/local/mnt2 was not properly dismounted
Dec 26 22:30:12 xeon kernel: WARNING: /usr/local/mnt3 was not properly dismounted
Dec 26 22:30:12 xeon kernel: WARNING: /usr/local/mnt4 was not properly dismounted
Dec 26 22:30:12 xeon kernel: WARNING: /usr/local/mnt6 was not properly dismounted
Dec 26 22:30:12 xeon kernel: IP Filter: v4.1.28 initialized. Default = pass all, Logging = enabled
Dec 26 22:30:12 xeon root: /etc/rc: INFO: run_rc_command: evaluating savecore_prestart().
Dec 26 22:30:12 xeon root: /etc/rc: INFO: No dump device. Quitting.
Dec 26 22:30:12 xeon root: /etc/rc: INFO: run_rc_command: evaluating ldconfig_start().
Dec 26 22:30:12 xeon root: /etc/rc: INFO: checkyesno: ldconfig_insecure is set to NO.
Dec 26 22:30:12 xeon root: /etc/rc: INFO: run_rc_command: evaluating archdep_start().
Dec 26 22:30:12 xeon root: /etc/rc: INFO: checkyesno: ibcs2_enable is set to NO.
Dec 26 22:30:12 xeon root: /etc/rc: INFO: run_rc_command: evaluating abi_prestart().
Dec 26 22:30:12 xeon root: /etc/rc: INFO: checkyesno: sysvipc_enable is set to NO.
Dec 26 22:30:12 xeon root: /etc/rc: INFO: checkyesno: linux_enable is set to YES.
Dec 26 22:30:13 xeon kernel: rl0: link state changed to UP
Dec 26 22:30:13 xeon kernel: rl1: link state changed to UP
Dec 26 22:30:13 xeon root: /etc/rc: INFO: checkyesno: svr4_enable is set to NO.
Dec 26 22:30:13 xeon root: /etc/rc: INFO: run_rc_command: evaluating :().
Dec 26 22:30:14 xeon root: /etc/rc: INFO: checkyesno: named_enable is set to YES.
Dec 26 22:30:14 xeon root: /etc/rc: INFO: pid file (/var/run/named/pid): not readable.
Dec 26 22:30:14 xeon root: /etc/rc: INFO: run_rc_command: evaluating named_precmd().
Dec 26 22:30:14 xeon root: /etc/rc: INFO: checkyesno: named_chroot_autoupdate is set to YES.
Dec 26 22:30:14 xeon kernel: em0: link state changed to UP
Dec 26 22:30:14 xeon root: /etc/rc: INFO: devfs_domount(): mount-point is (/var/named/dev), ruleset is (devfsrules_hide_all)
Dec 26 22:30:14 xeon root: /etc/rc: INFO: reading rulesets from file (/etc/defaults/devfs.rules)
Dec 26 22:30:14 xeon root: /etc/rc: INFO: found ruleset: devfsrules_hide_all=1
Dec 26 22:30:14 xeon root: /etc/rc: INFO: adding rule (add hide)
Dec 26 22:30:14 xeon root: /etc/rc: INFO: found ruleset: devfsrules_unhide_basic=2
Dec 26 22:30:14 xeon root: /etc/rc: INFO: adding rule (add path null unhide)
Dec 26 22:30:14 xeon root: /etc/rc: INFO: adding rule (add path zero unhide)
Dec 26 22:30:14 xeon root: /etc/rc: INFO: adding rule (add path crypto unhide)
Dec 26 22:30:14 xeon root: /etc/rc: INFO: adding rule (add path random unhide)
Dec 26 22:30:14 xeon root: /etc/rc: INFO: adding rule (add path urandom unhide)
Dec 26 22:30:14 xeon root: /etc/rc: INFO: found ruleset: devfsrules_unhide_login=3
Dec 26 22:30:14 xeon root: /etc/rc: INFO: adding rule (add path 'ptyp*' unhide)
Dec 26 22:30:14 xeon root: /etc/rc: INFO: adding rule (add path 'ptyq*' unhide)
Dec 26 22:30:14 xeon root: /etc/rc: INFO: adding rule (add path 'ptyr*' unhide)
Dec 26 22:30:14 xeon root: /etc/rc: INFO: adding rule (add path 'ptys*' unhide)
...
/usr/local/etc/rc.d/proftpd
Поставлен из портов
Код: Выделить всё
#!/bin/sh
#
# $FreeBSD: ports/ftp/proftpd/files/proftpd.sh.in,v 1.3 2006/02/20 20:47:00 dougb Exp $
#
# PROVIDE: proftpd
# REQUIRE: DAEMON
# BEFORE: LOGIN
# KEYWORD: shutdown
#
# Add the following lines to /etc/rc.conf to enable proftpd:
#
#proftpd_enable="YES"
#
# See proftpd(8) for flags
#
. /etc/rc.subr
name=proftpd
rcvar=`set_rcvar`
command=/usr/local/sbin/proftpd
pidfile=/var/run/proftpd.pid
required_files=/usr/local/etc/proftpd.conf
stop_postcmd=stop_postcmd
stop_postcmd()
{
rm -f $pidfile
}
# set defaults
proftpd_enable=${proftpd_enable:-"NO"}
proftpd_flags=${proftpd_flags:-""}
extra_commands="reload"
load_rc_config $name
run_rc_command "$1"
Версия
Код: Выделить всё
[root@tester /home/irvis]# uname -a
FreeBSD tester 7.0-RELEASE FreeBSD 7.0-RELEASE #0: Sun Feb 24 19:59:52 UTC 2008 root@logan.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC i386
Код: Выделить всё
[root@tester /home/irvis]# more /etc/rc.conf
#NET
hostname="tester"
ifconfig_em0="192.168.110.239/24"
defaultrouter="192.168.110.3"
#CONSOLE
keymap="ru.koi8-r"
#SOFT
sshd_enable="YES"
sendmail_enable="NONE"
proftpd_enable="YES"
на тестовом РАБОТАЕТ!