From 89fbf7e6c7eee8b7603e2ffe082f092d8a5e71c3 Mon Sep 17 00:00:00 2001 From: Leonardo Arena Date: Wed, 24 Apr 2013 09:47:35 +0000 Subject: testing/smstools: move to main --- testing/smstools/smstools.initd | 31 ------------------------------- 1 file changed, 31 deletions(-) delete mode 100644 testing/smstools/smstools.initd (limited to 'testing/smstools/smstools.initd') diff --git a/testing/smstools/smstools.initd b/testing/smstools/smstools.initd deleted file mode 100644 index 44f707a80d..0000000000 --- a/testing/smstools/smstools.initd +++ /dev/null @@ -1,31 +0,0 @@ -#!/sbin/runscript -# Copyright 1999-2012 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/app-mobilephone/smstools/files/smsd.initd3,v 1.1 2012/12/20 10:41:42 chainsaw Exp $ - -depend() { - need localmount -} - -start() { - if ! [ -d /var/run/smsd ]; then - ebegin "Creating /var/run/smsd for ${SVCNAME}" - mkdir /var/run/smsd \ - && chown smsd:smsd /var/run/smsd \ - && chmod 770 /var/run/smsd - eend $? - fi - - chown smsd:sms /var/log/smsd.log - ebegin "Starting smsd" - start-stop-daemon -b -u smsd:smsd --start --exec /usr/bin/smsd -- \ - -c /etc/smsd.conf -p /var/run/smsd/smsd.pid \ - -i /var/run/smsd/smsd.working - eend ${?} -} - -stop() { - ebegin "Stopping smsd" - start-stop-daemon --stop -n smsd - eend ${?} -} -- cgit v1.2.3