[oe-commits] Philip Balister : ifupdown : Fix path to ifstate file.

git version control git at git.openembedded.org
Fri Nov 12 18:02:30 UTC 2010


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

Author: Philip Balister <philip at opensdr.com>
Date:   Thu Nov 11 15:57:40 2010 -0800

ifupdown : Fix path to ifstate file.

Fix reported to gumstix list by Mike Stock.

---

 recipes/ifupdown/ifupdown-0.6.10/init |    6 +++---
 recipes/ifupdown/ifupdown_0.6.10.bb   |    2 +-
 2 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/recipes/ifupdown/ifupdown-0.6.10/init b/recipes/ifupdown/ifupdown-0.6.10/init
index d258d51..7f8801c 100644
--- a/recipes/ifupdown/ifupdown-0.6.10/init
+++ b/recipes/ifupdown/ifupdown-0.6.10/init
@@ -2,9 +2,9 @@
 
 case "$1" in
 	start|restart)
-		if [ -e /etc/network/ifstate ]; then
-			echo -n "Cleaning: /etc/network/ifstate"
-			echo -n >/etc/network/ifstate
+		if [ -e /etc/network/run/ifstate ]; then
+			echo -n "Cleaning: /etc/network/run/ifstate"
+			echo -n >/etc/network/run/ifstate
 			echo "."
 		fi
 		;;
diff --git a/recipes/ifupdown/ifupdown_0.6.10.bb b/recipes/ifupdown/ifupdown_0.6.10.bb
index 31e24d5..7e45dc6 100644
--- a/recipes/ifupdown/ifupdown_0.6.10.bb
+++ b/recipes/ifupdown/ifupdown_0.6.10.bb
@@ -4,7 +4,7 @@ configure (or, respectively, deconfigure) network interfaces, based on \
 the file /etc/network/interfaces."
 LICENSE = "GPL"
 SECTION = "base"
-PR = "r2"
+PR = "r3"
 
 
 SRC_URI = "${DEBIAN_MIRROR}/main/i/ifupdown/ifupdown_${PV}.tar.gz;name=ifupdown \





More information about the Openembedded-commits mailing list