freebsd-dev/etc/rc.d/devdb

18 lines
252 B
Plaintext
Raw Normal View History

#!/bin/sh
#
# $FreeBSD$
#
# PROVIDE: devdb
# REQUIRE: syslogd
# KEYWORD: FreeBSD
# Build device name databases if we are not using DEVFS
#
if sysctl vfs.devfs.generation > /dev/null 2>&1 ; then
rm -f /var/run/dev.db
else
dev_mkdb
fi