freebsd-dev/etc/rc.d/devdb
schweikh 8fc6eb18c2 Fix style bugs:
* Space -> tabs conversion.
* Removed blanks before semicolon in "if ... ; then".
* Proper indentation of misindented lines.
* Put a full stop after some comments.
* Removed whitespace at end of line.

Approved by:	silence from gordon
2002-10-12 10:31:31 +00:00

18 lines
237 B
Bash

#!/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