mirror of
https://github.com/openwrt/packages.git
synced 2025-02-07 05:49:50 +00:00
d4042ec35e
recent changes in trunk allow us to specify the userid inside the openwrt makefile. the info is stored int he meta data of the IPK contorl file and users are generated by the new generic postinst trigger. Signed-off-by: John Crispin <blogic@openwrt.org>
17 lines
303 B
Bash
17 lines
303 B
Bash
#!/bin/sh /etc/rc.common
|
|
# Copyright (C) 2006-2013 OpenWrt.org
|
|
|
|
START=75
|
|
STOP=75
|
|
|
|
USE_PROCD=1
|
|
|
|
start_service() {
|
|
mkdir -p -m 0755 /var/lib/dovecot
|
|
mkdir -p -m 0755 /var/run/dovecot
|
|
chmod 0750 /var/lib/dovecot
|
|
procd_open_instance
|
|
procd_set_param command /usr/sbin/dovecot -F
|
|
procd_close_instance
|
|
}
|