Lines 354-365
Link Here
|
354 |
err 1 "dhcpd_devfs_enable and dhcpd_makedev_enable" \ |
354 |
err 1 "dhcpd_devfs_enable and dhcpd_makedev_enable" \ |
355 |
"are mutually exclusive. enable only one!" |
355 |
"are mutually exclusive. enable only one!" |
356 |
fi |
356 |
fi |
|
|
357 |
# mount_devfs disappeared in FreeBSD 7. |
358 |
if test `uname -r | cut -c 1` -le 6; then |
357 |
if checkyesno dhcpd_devfs_enable && |
359 |
if checkyesno dhcpd_devfs_enable && |
358 |
! ( type mount_devfs ) > /dev/null 2>&1; then |
360 |
! ( type mount_devfs ) > /dev/null 2>&1; then |
359 |
warn "dhcpd_devfs_enable disabled" \ |
361 |
warn "dhcpd_devfs_enable disabled" \ |
360 |
"-- not available" |
362 |
"-- not available" |
361 |
dhcpd_devfs_enable=NO |
363 |
dhcpd_devfs_enable=NO |
362 |
fi |
364 |
fi |
|
|
365 |
fi |
363 |
if checkyesno dhcpd_makedev_enable && |
366 |
if checkyesno dhcpd_makedev_enable && |
364 |
! [ -x ${__dhcpd_devdir}/MAKEDEV ]; then |
367 |
! [ -x ${__dhcpd_devdir}/MAKEDEV ]; then |
365 |
warn "dhcpd_makedev_enable disabled" \ |
368 |
warn "dhcpd_makedev_enable disabled" \ |