summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJames Rayner <james@archlinux.org>2010-01-31 01:13:32 +0100
committerJames Rayner <james@archlinux.org>2010-01-31 01:13:32 +0100
commitefa70f13b2ed20632ff3e06c885f60de6033bde7 (patch)
treeff86ccfd940d9d1b935325ff443428d546dc2c4a
parent28693f8e88edb196abe44ea38d629dbde492774c (diff)
downloadnetctl-efa70f13b2ed20632ff3e06c885f60de6033bde7.tar.gz
netctl-efa70f13b2ed20632ff3e06c885f60de6033bde7.tar.xz
netcfg v2.5.1
-rw-r--r--Makefile2
-rwxr-xr-xifplugd/netcfg.action5
-rw-r--r--src/netcfg2
3 files changed, 6 insertions, 3 deletions
diff --git a/Makefile b/Makefile
index 984c73e..f74080a 100644
--- a/Makefile
+++ b/Makefile
@@ -1,5 +1,5 @@
DESTDIR=
-VERSION=2.5.0
+VERSION=2.5.1
VPATH = doc
install:
diff --git a/ifplugd/netcfg.action b/ifplugd/netcfg.action
index b34fe3c..f288b01 100755
--- a/ifplugd/netcfg.action
+++ b/ifplugd/netcfg.action
@@ -1,4 +1,4 @@
-#!/bin/bash
+#!/bin/sh
#
# ifplugd.action script for netcfg
@@ -13,9 +13,11 @@ case "$2" in
# dhcp can actually outright fail, whereas
# it's difficult to tell if static succeeded
# Also check profile is same iface and is right connection
+ echo "up"
declare -a static_profiles
for profile in $(list_profiles); do (
load_profile "$profile"
+ echo "loadin $profile"
[[ "$INTERFACE" != "$1" ]] && continue
[[ "$CONNECTION" != @(ethernet|ethernet-iproute) ]] && continue
if [[ "$IP" == "dhcp" ]]; then
@@ -23,6 +25,7 @@ case "$2" in
else
static_profiles+=("$profile")
fi
+ exit 0
) || exit 0; done
for profile in "${static_profiles[@]}"; do (
load_profile "$profile"
diff --git a/src/netcfg b/src/netcfg
index 37e4dd4..435a396 100644
--- a/src/netcfg
+++ b/src/netcfg
@@ -2,7 +2,7 @@
. /usr/lib/network/network
-NETCFG_VER=2.5.0
+NETCFG_VER=2.5.1
version()
{