[oe-commits] Vladimir Sorokin : conntrack-tools: fix restart command in init script

git version control git at git.openembedded.org
Mon Jul 12 04:51:56 UTC 2010


Module: openembedded.git
Branch: org.openembedded.dev
Commit: eab31c26dc18633cc5094e402d6cbce5128c5839
URL:    http://gitweb.openembedded.net/?p=openembedded.git&a=commit;h=eab31c26dc18633cc5094e402d6cbce5128c5839

Author: Vladimir Sorokin <sorokin at altell.ru>
Date:   Tue Jul  6 14:47:48 2010 +0400

conntrack-tools: fix restart command in init script

Signed-off-by: Vladimir Sorokin <sorokin at altell.ru>
Signed-off-by: Roman I Khimov <khimov at altell.ru>

---

 recipes/conntrack-tools/conntrack-tools_0.9.14.bb |    2 ++
 recipes/conntrack-tools/files/init                |    2 +-
 2 files changed, 3 insertions(+), 1 deletions(-)

diff --git a/recipes/conntrack-tools/conntrack-tools_0.9.14.bb b/recipes/conntrack-tools/conntrack-tools_0.9.14.bb
index ed005be..d5f1e4a 100644
--- a/recipes/conntrack-tools/conntrack-tools_0.9.14.bb
+++ b/recipes/conntrack-tools/conntrack-tools_0.9.14.bb
@@ -2,6 +2,8 @@ DESCRIPTION = "Connection tracking userspace tools for Linux"
 LICENSE = "GPL"
 DEPENDS = "libnfnetlink libnetfilter-conntrack"
 
+PR = "r1"
+
 SRC_URI = " \
 	http://www.netfilter.org/projects/conntrack-tools/files/conntrack-tools-${PV}.tar.bz2;name=tar \
 	file://conntrack-failover \
diff --git a/recipes/conntrack-tools/files/init b/recipes/conntrack-tools/files/init
index 6e2f442..cb7a7fb 100644
--- a/recipes/conntrack-tools/files/init
+++ b/recipes/conntrack-tools/files/init
@@ -65,8 +65,8 @@ case "$1" in
 	fi
 	;;
   restart)
-	$0 start
 	$0 stop
+	$0 start
 	;;
 
   *)





More information about the Openembedded-commits mailing list