diff options
author | Thomas Sachau <tommy@gentoo.org> | 2009-02-12 18:07:25 +0000 |
---|---|---|
committer | Thomas Sachau <tommy@gentoo.org> | 2009-02-12 18:07:25 +0000 |
commit | b3b8b8fe2b7075f98975608221521401bceba039 (patch) | |
tree | 6f99432f03a80b7fc22a940744fe4d9618031362 /net-p2p/fms | |
parent | Marking nss-3.12.2 ppc64 and ppc for bug 257577 (diff) | |
download | gentoo-2-b3b8b8fe2b7075f98975608221521401bceba039.tar.gz gentoo-2-b3b8b8fe2b7075f98975608221521401bceba039.tar.bz2 gentoo-2-b3b8b8fe2b7075f98975608221521401bceba039.zip |
Fixing the init.d script, thanks to Dennis Nezic for the pointer
(Portage version: 2.2_rc23/cvs/Linux x86_64)
Diffstat (limited to 'net-p2p/fms')
-rw-r--r-- | net-p2p/fms/ChangeLog | 8 | ||||
-rw-r--r-- | net-p2p/fms/files/fms | 12 | ||||
-rw-r--r-- | net-p2p/fms/fms-0.3.31-r1.ebuild (renamed from net-p2p/fms/fms-0.3.31.ebuild) | 2 |
3 files changed, 14 insertions, 8 deletions
diff --git a/net-p2p/fms/ChangeLog b/net-p2p/fms/ChangeLog index e3db3846a14a..095cc4ec0cd3 100644 --- a/net-p2p/fms/ChangeLog +++ b/net-p2p/fms/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for net-p2p/fms # Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/net-p2p/fms/ChangeLog,v 1.4 2009/02/10 22:17:05 tommy Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-p2p/fms/ChangeLog,v 1.5 2009/02/12 18:07:16 tommy Exp $ + +*fms-0.3.31-r1 (12 Feb 2009) + + 12 Feb 2009; Thomas Sachau (Tommy[D]) <tommy@gentoo.org> files/fms, + -fms-0.3.31.ebuild, +fms-0.3.31-r1.ebuild: + Fixing the init.d script, thanks to Dennis Nezic for the pointer *fms-0.3.31 (10 Feb 2009) diff --git a/net-p2p/fms/files/fms b/net-p2p/fms/files/fms index b090a4bb4e2d..2f26c39c10a4 100644 --- a/net-p2p/fms/files/fms +++ b/net-p2p/fms/files/fms @@ -1,24 +1,24 @@ #!/sbin/runscript # Copyright 1999-2008 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/net-p2p/fms/files/fms,v 1.2 2009/02/05 18:54:52 tommy Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-p2p/fms/files/fms,v 1.3 2009/02/12 18:07:25 tommy Exp $ start() { ebegin "Starting FMS" - if [ ! -f /etc/init.d/sysfs ]; then - start-stop-daemon -S -u freenet:freenet -d /var/freenet/fms -x ./fms --daemon + if [[ -f /etc/init.d/sysfs ]]; then + start-stop-daemon -S -u freenet:freenet -d /var/freenet/fms -b -x /usr/bin/fms eend $? else cd /var/freenet/fms - su -s /bin/sh -c "./fms --daemon" freenet + su -s /bin/sh -c "fms --daemon" freenet eend $? fi } stop() { ebegin "Stopping FMS" - if [ ! -f /etc/init.d/sysfs ]; then - start-stop-daemon -K -u freenet:freenet -d /var/freenet/fms ./fms --daemon + if [[ -f /etc/init.d/sysfs ]]; then + start-stop-daemon -K -u freenet:freenet -d /var/freenet/fms /usr/bin/fms eend $? else pkill -u freenet -f "fms --daemon" diff --git a/net-p2p/fms/fms-0.3.31.ebuild b/net-p2p/fms/fms-0.3.31-r1.ebuild index 276eb48c92a5..cc4d4d3fadfb 100644 --- a/net-p2p/fms/fms-0.3.31.ebuild +++ b/net-p2p/fms/fms-0.3.31-r1.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2009 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/net-p2p/fms/fms-0.3.31.ebuild,v 1.1 2009/02/10 22:17:05 tommy Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-p2p/fms/fms-0.3.31-r1.ebuild,v 1.1 2009/02/12 18:07:16 tommy Exp $ inherit eutils cmake-utils |