summaryrefslogtreecommitdiffstats
path: root/src/netcfg
diff options
context:
space:
mode:
authorJames Rayner <james@archlinux.org>2008-12-18 06:32:07 +0100
committerJames Rayner <james@archlinux.org>2008-12-18 06:32:07 +0100
commit300cd2c73b599c2a58463ce75e1aa2cb19ac2414 (patch)
tree1d8ade1de18d18b071ef30253390b8eadf3de05b /src/netcfg
parent4ea71825696ac78ff5694153f3c70eb0350f6a10 (diff)
downloadnetctl-300cd2c73b599c2a58463ce75e1aa2cb19ac2414.tar.gz
netctl-300cd2c73b599c2a58463ce75e1aa2cb19ac2414.tar.xz
libify and fix some scripting errors
Diffstat (limited to 'src/netcfg')
-rw-r--r--src/netcfg7
1 files changed, 2 insertions, 5 deletions
diff --git a/src/netcfg b/src/netcfg
index 6dcd683..377a71e 100644
--- a/src/netcfg
+++ b/src/netcfg
@@ -2,7 +2,7 @@
. /etc/rc.conf
. /etc/rc.d/functions
-. /usr/lib/network/network.subr
+. /usr/lib/network/network
err_append() {
stat_append " - $*"
@@ -12,10 +12,7 @@ err() {
printhl "$*"
}
-NETCFG_VER=2.1.2
-PROFILE_DIR="/etc/network.d/"
-SUBR_DIR="/usr/lib/network/"
-STATE_DIR="/var/run/network/"
+NETCFG_VER=2.1.3
version()
{