aboutsummaryrefslogtreecommitdiffstats
path: root/testing/ifupdown/ifupdown-alpine-ifstate.patch
diff options
context:
space:
mode:
authorWilliam Pitcock <nenolod@dereferenced.org>2011-01-13 11:27:37 -0600
committerWilliam Pitcock <nenolod@dereferenced.org>2011-01-13 11:27:37 -0600
commitba104a22c2b15541ba80801a8ecb1a033f6d57f3 (patch)
tree69aea3e2ce8f7206fd59947c7bc915d50c33e3d3 /testing/ifupdown/ifupdown-alpine-ifstate.patch
parenta7453a07290838947e08fd1bc927f7a116e561c0 (diff)
downloadaports-ba104a22c2b15541ba80801a8ecb1a033f6d57f3.tar.bz2
aports-ba104a22c2b15541ba80801a8ecb1a033f6d57f3.tar.xz
testing/ifupdown: alpine stores ifstate in /var/run.
Diffstat (limited to 'testing/ifupdown/ifupdown-alpine-ifstate.patch')
-rw-r--r--testing/ifupdown/ifupdown-alpine-ifstate.patch13
1 files changed, 13 insertions, 0 deletions
diff --git a/testing/ifupdown/ifupdown-alpine-ifstate.patch b/testing/ifupdown/ifupdown-alpine-ifstate.patch
new file mode 100644
index 0000000000..ae00950819
--- /dev/null
+++ b/testing/ifupdown/ifupdown-alpine-ifstate.patch
@@ -0,0 +1,13 @@
+--- ifupdown-0.6.10.orig/main.c
++++ ifupdown-0.6.10/main.c
+@@ -17,8 +17,8 @@
+ #line 3166 "ifupdown.nw"
+ int no_act = 0;
+ int verbose = 0;
+-char *statefile = "/etc/network/run/ifstate";
+-char *tmpstatefile = "/etc/network/run/.ifstate.tmp";
++char *statefile = "/var/run/ifstate";
++char *tmpstatefile = "/var/run/.ifstate.tmp";
+ #line 3185 "ifupdown.nw"
+ static void usage(char *execname);
+ static void help(char *execname);