summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorJouke Witteveen <j.witteveen@gmail.com>2013-06-04 15:29:43 +0200
committerJouke Witteveen <j.witteveen@gmail.com>2013-06-04 15:29:43 +0200
commitc3f16e68c8476357370131547c22f4dcc6b9e2ff (patch)
tree2bd108094253fcf07fe16b2e43434b612acb321f /src
parent6e48f6b70d2c1921c9d71114bd28c390273e20e1 (diff)
downloadnetctl-c3f16e68c8476357370131547c22f4dcc6b9e2ff.tar.gz
netctl-c3f16e68c8476357370131547c22f4dcc6b9e2ff.tar.xz
Expose version information
Profiles now have access to it.
Diffstat (limited to 'src')
-rw-r--r--src/lib/globals1
-rw-r--r--src/netctl.in2
2 files changed, 1 insertions, 2 deletions
diff --git a/src/lib/globals b/src/lib/globals
index 83c64a2..ee45f52 100644
--- a/src/lib/globals
+++ b/src/lib/globals
@@ -1,3 +1,4 @@
+NETCTL_VERSION="notpackaged"
PROFILE_DIR="/etc/netctl"
SUBR_DIR="/usr/lib/network"
CONN_DIR="$SUBR_DIR/connections"
diff --git a/src/netctl.in b/src/netctl.in
index ed4cea4..57b528d 100644
--- a/src/netctl.in
+++ b/src/netctl.in
@@ -2,8 +2,6 @@
. /usr/lib/network/globals
-NETCTL_VERSION=notpackaged
-
usage() {
cat << END