aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--README.md2
-rwxr-xr-xkerl6
2 files changed, 7 insertions, 1 deletions
diff --git a/README.md b/README.md
index 3024d85..5d0705d 100644
--- a/README.md
+++ b/README.md
@@ -246,7 +246,7 @@ You can auto-install agner packages listing them in the KERL_AGNER_AUTOINSTALL v
#### SASL startup
-You can have SASL started automatically setting KERL_SASL_STARTUP=yes in your $HOME/.kerlrc file
+You can have SASL started automatically setting KERL_SASL_STARTUP=yes in your $HOME/.kerlrc file or prepending it to the command line
update
------
diff --git a/kerl b/kerl
index e50dcc5..4b2d109 100755
--- a/kerl
+++ b/kerl
@@ -29,6 +29,9 @@ KERL_BUILD_DIR=$KERL_BASE_DIR/builds
if [ -n "$KERL_CONFIGURE_OPTIONS" ]; then
_KCO="$KERL_CONFIGURE_OPTIONS"
fi
+if [ -n "$KERL_SASL_STARTUP" ]; then
+ _KSS="$KERL_SASL_STARTUP"
+fi
KERL_CONFIGURE_OPTIONS=
KERL_DISABLE_AGNER=
KERL_SASL_STARTUP=
@@ -42,6 +45,9 @@ if [ -f "$KERL_CONFIG" ]; then . "$KERL_CONFIG"; fi
if [ -n "$_KCO" ]; then
KERL_CONFIGURE_OPTIONS="$_KCO"
fi
+if [ -n "$_KSS" ]; then
+ KERL_SASL_STARTUP="$_KSS"
+fi
if [ -z "$KERL_SASL_STARTUP" ]; then
INSTALL_OPT=-minimal