aboutsummaryrefslogtreecommitdiff
path: root/init.d/devdb.in
blob: 951c750843ea1cb1789b8139703d7e08259a73d3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
#!@PREFIX@/sbin/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 "Bulding the dev database"
	if [ /var/run/dev.db -nt /dev ]; then
		:
	else
		dev_mkdb
	fi
	eend $?
}