diff --git a/bin/cryptobox.conf b/bin/cryptobox.conf index 0b10ac8..4aa2751 100644 --- a/bin/cryptobox.conf +++ b/bin/cryptobox.conf @@ -85,7 +85,7 @@ umount = /bin/umount nice = /usr/bin/nice super = /usr/bin/super # this is the "program" name as defined in /etc/super.tab -CryptoBoxRootActions = CryptoBoxRootActionsLocal +CryptoBoxRootActions = CryptoBoxRootActions [PluginSettings] diff --git a/bin/run_webserver.sh b/bin/run_webserver.sh index d4ff73c..e250980 100755 --- a/bin/run_webserver.sh +++ b/bin/run_webserver.sh @@ -22,7 +22,8 @@ FALLBACK_CONF_FILE=$BIN_DIR/cryptobox.conf ## determine the configuration file CONFIG_FILE=$FALLBACK_CONF_FILE -test -e "$PREFERRED_FILE" && CONFIG_FILE=$PREFERRED_CONF_FILE +test -r "$PREFERRED_CONF_FILE" && CONFIG_FILE=$PREFERRED_CONF_FILE +echo "used config: $CONFIG_FILE" ## create necessary directories mkdir -p "$BIN_DIR/../ttt/mnt"