summaryrefslogtreecommitdiffstats
path: root/etc/rc.d/devdb
blob: 8bd040a427a83cc87bb7a4eb098be6f35ad4e3ba (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