summaryrefslogtreecommitdiffstats
path: root/etc/rc.d/devdb
blob: 57edafbe7603d185dd37dac32a01d513d4917de0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#!/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

OpenPOWER on IntegriCloud