26 lines
820 B
Bash
26 lines
820 B
Bash
|
#!/bin/sh
|
||
|
#
|
||
|
# this script looks for the file /DEVELOPMENT_CRYPTOBOX
|
||
|
# if it exists, the script $DEVEL_SCRIPT be executed - this is
|
||
|
# ONLY FOR DEVELOPMENT CDs!
|
||
|
# for production CD the file /DEVELOPMENT_CRYPTOBOX should never exist!
|
||
|
#
|
||
|
|
||
|
set -eu
|
||
|
|
||
|
MARKER=/DEVELOPMENT_CRYPTOBOX
|
||
|
|
||
|
# return, if it does not exist
|
||
|
[ ! -e "$MARKER" ] && exit 0
|
||
|
|
||
|
echo
|
||
|
echo "#---------------------------------------------------------------#"
|
||
|
echo "| WARNING: developers features are enabled |"
|
||
|
echo "| This definitely should NOT happen for production CDs! |"
|
||
|
echo "| If you are not a developer, then this CD is DANGEROUS, as it |"
|
||
|
echo "| offers no security at all! |"
|
||
|
echo "#---------------------------------------------------------------#"
|
||
|
echo
|
||
|
|
||
|
/scripts/devel-features.sh "$@"
|