blob: 7323feebc4065fa5256c5617b77f25afe6f9974d (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
|
#!/sbin/runscript
# Copyright 1999-2011 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-mobilephone/smstools/files/smsd.initd2,v 1.1 2011/07/27 10:41:13 chainsaw Exp $
depend() {
need localmount
}
start() {
chown smsd:sms /var/log/smsd.log
ebegin "Starting smsd"
start-stop-daemon -b -u smsd:sms --start --exec /usr/bin/smsd -- \
-c /etc/smsd.conf
eend ${?}
}
stop() {
ebegin "Stopping smsd"
start-stop-daemon --stop -n smsd
eend ${?}
}
|