summaryrefslogtreecommitdiffstats
path: root/configure
diff options
context:
space:
mode:
authorDavid Sommerseth <dazo@users.sourceforge.net>2008-11-28 12:22:54 +0100
committerDavid Sommerseth <dazo@users.sourceforge.net>2008-11-28 12:22:54 +0100
commit9fc0e26e928add6b5124d60ea2c2fe38ac7259f1 (patch)
treea8128dc744218ad062d9d2dcb3f9600bb9e9e505 /configure
parent622fb9169d5c554d5f5c8ca42e978f133be5bb45 (diff)
downloadeurephia-9fc0e26e928add6b5124d60ea2c2fe38ac7259f1.tar.gz
eurephia-9fc0e26e928add6b5124d60ea2c2fe38ac7259f1.tar.xz
eurephia-9fc0e26e928add6b5124d60ea2c2fe38ac7259f1.zip
Added first skeleton of a command line admin util
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure8
1 files changed, 8 insertions, 0 deletions
diff --git a/configure b/configure
index 6c10e25..4078837 100755
--- a/configure
+++ b/configure
@@ -15,12 +15,14 @@ configure help for eurephia
--db-sqlite3 | -- Build SQLite3 database module
--sqlite3-prefix | -sp -- Root directory of SQLite3 eurephia database
(default: /etc/openvpn)
+ --eurephiadm | -A -- Build command line admin utility
EOF
}
PARAMS=""
DB=""
FW=""
+ADMIN="";
OPENVPN_SRC_DIR=""
PREFIX="/etc/openvpn/eurephia"
SQLITE3PREFIX="/etc/openvpn"
@@ -59,6 +61,10 @@ while [ ! -z "$1" ]; do
SQLITE3PREFIX="$2"
shift
;;
+ --eurephiadm|-A)
+ PARAMS="${PARAMS} -DEUREPHIADM=ON"
+ ADMIN="${ADMIN}eurephiadm "
+ ;;
*)
echo "Unkown option: $1"
exit 2
@@ -96,11 +102,13 @@ if [ $ec = 0 ]; then
echo
echo " Database: ${DB}"
echo " Firewall: ${FW:-"None"}"
+ echo " Admin tools: ${ADMIN:-"None"}"
echo
echo " Install prefix: ${PREFIX}"
if [ ${DB} = "SQLite3" ]; then
echo " SQLite3 database path: ${SQLITE3PREFIX}"
fi
+
echo
echo
if [ "$DEBUG_WARN" = 1 ]; then