aboutsummaryrefslogtreecommitdiff
path: root/init.d/devdb.in
blob: a87dbdee23a4e30d0a5f79f84f23daf28b8b20c9 (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 2008 Roy Marples <roy@marples.name>
# All rights reserved. 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 $?
}