#!/bin/sh /etc/rc.common
# Copyright (C) 2006,2007 OpenWrt.org

START=99

RUN_D=/var/run/dovecot
PID_F=$RUN_D/master.pid

start() {
	mkdir -p $RUN_D
	dovecot
}

stop() {
	[ -f $PID_F ] && kill $(cat $PID_F)
}
