glib2 now needs the dev package from glib 2.0 installed on the host,
[openwrt/svn-archive/archive.git] / net / dovecot / files / dovecot.init
1 #!/bin/sh /etc/rc.common
2 # Copyright (C) 2006,2007 OpenWrt.org
3
4 START=99
5
6 RUN_D=/var/run/dovecot
7 PID_F=$RUN_D/master.pid
8
9 start() {
10 mkdir -p $RUN_D
11 dovecot
12 }
13
14 stop() {
15 [ -f $PID_F ] && kill $(cat $PID_F)
16 }