aboutsummaryrefslogtreecommitdiff
path: root/init.d/devdb.in
blob: 921375890e97b3b3ebfc616fddec620959370dd5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
#!@SBINDIR@/runscript
# Copyright (c) 2008 Roy Marples <roy@marples.name>
# Released under the 2-clause BSD license.

description="Creates the dev database"

depend()
{
	need localmount
}

start()
{
	ebegin "Building the dev database"
	if [ /var/run/dev.db -nt /dev ]; then
		:
	else
		dev_mkdb
	fi
	eend $?
}