2013-02-12 17:09:50 -05:00
|
|
|
#!@SBINDIR@/runscript
|
2009-05-01 15:11:40 +01:00
|
|
|
# Copyright (c) 2008 Roy Marples <roy@marples.name>
|
2011-06-29 19:46:31 -04:00
|
|
|
# Released under the 2-clause BSD license.
|
2008-05-12 15:11:04 +00:00
|
|
|
|
|
|
|
description="Creates the dev database"
|
|
|
|
|
|
|
|
depend()
|
|
|
|
{
|
|
|
|
need localmount
|
|
|
|
}
|
|
|
|
|
|
|
|
start()
|
|
|
|
{
|
2011-10-16 19:02:21 -04:00
|
|
|
ebegin "Building the dev database"
|
2008-05-12 15:11:04 +00:00
|
|
|
if [ /var/run/dev.db -nt /dev ]; then
|
|
|
|
:
|
|
|
|
else
|
|
|
|
dev_mkdb
|
|
|
|
fi
|
|
|
|
eend $?
|
|
|
|
}
|