blob: b6117ab1abf509d4ae0243f163bcb0cb70d87ff0 [file] [log] [blame]
#!/sbin/runscript
# Copyright 1999-2011 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
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 ${?}
}