Re: [dhcpcd][PATCH 1/2] configure: Arch Linux has moved /var/run to /run
Roy Marples
Sat Dec 31 10:28:46 2011
Hi Tom
On Fri, 30 Dec 2011 00:06:25 +0100, Tom Gundersen wrote:
I could not find a dhcpcd mailinglist, so I hope it is ok that I send
a couple of patches
directly to you.
I cc'ed the list :)
---
configure | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/configure b/configure
index 8a395fe..884040e 100755
--- a/configure
+++ b/configure
@@ -414,7 +414,7 @@ if [ -z "$SERVICECMD" ]; then
fi
if [ -e /etc/arch-release ]; then
echo "Overriding service status check for Arch Linux"
- SERVICESTATUS="[ -e /var/run/daemons/\$1 ]"
+ SERVICESTATUS="[ -e /run/daemons/\$1 ]"
fi
if [ -z "$SERVICEEXISTS" -o -z "$SERVICECMD" ]; then
What about older arch versions? Maybe add a check to see if /run
actually exists inside the arch check I guess.
Thanks
Roy
Archive administrator: postmaster@marples.name