#!/sbin/runscript # Copyright 1999-2005 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: $ depend() { need localmount } start() { ebegin "Starting smsd" #chown smsd:sms /dev/ttyS0 start-stop-daemon -b -p /var/run/smsd/smsd.pid -c smsd:sms --start --exec /usr/local/bin/smsd -- \ -c /etc/smsd.conf eend ${?} } stop() { ebegin "Stopping smsd" start-stop-daemon --stop -p /var/run/smsd/smsd.pid eend ${?} }