summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2009-09-01 06:21:10 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2009-09-01 06:21:10 +0000
commite26a244e7ed7584a671fa17fd2fd285eff297363 (patch)
tree1bf779a329d4a7305f07f7e0525cddef0fcc4c7e
parent4599ce25c2b2c491c3b4fa14ca7a082b292b1df1 (diff)
downloadalpine-conf-e26a244e7ed7584a671fa17fd2fd285eff297363.zip
setup-acf: added -e option to set email for self signed cert
-rw-r--r--setup-acf.in5
1 files changed, 3 insertions, 2 deletions
diff --git a/setup-acf.in b/setup-acf.in
index 0b45be5..ca17575 100644
--- a/setup-acf.in
+++ b/setup-acf.in
@@ -7,15 +7,16 @@ PREFIX=
. $PREFIX/lib/libalpine.sh
usage() {
- echo "$PROGRAM [-ahn] [-l address] [PACKAGE...]"
+ echo "$PROGRAM [-ahn] [-e email] [-l address] [PACKAGE...]"
exit 0;
}
pkgs="acf-core acf-alpine-baselayout acf-apk-tools"
-while getopts "ahl:n" opt ; do
+while getopts "ae:hl:n" opt ; do
case $opt in
a) pkgs=`apk_fetch -l | grep ^acf-`;;
+ e) EMAIL="$OPTARG";;
h) usage;;
l) address="$OPTARG";;
n) create_passwd=no;;