2002-06-13 22:14:37 +00:00
|
|
|
#!/bin/sh
|
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
|
|
|
# PROVIDE: devdb
|
|
|
|
# REQUIRE: syslogd
|
|
|
|
# KEYWORD: FreeBSD
|
|
|
|
|
|
|
|
# Build device name databases if we are not using DEVFS
|
|
|
|
#
|
2002-10-12 10:31:31 +00:00
|
|
|
if sysctl vfs.devfs.generation > /dev/null 2>&1; then
|
|
|
|
rm -f /var/run/dev.db
|
2002-06-13 22:14:37 +00:00
|
|
|
else
|
2002-10-12 10:31:31 +00:00
|
|
|
dev_mkdb
|
2002-06-13 22:14:37 +00:00
|
|
|
fi
|
|
|
|
|