cryptonas/cryptobox.conf.d/etc/init.d/cb-devel-features.sh
lars fda9e3f445 moved validation from cbox to the host
logging greatly improved
background problem of initialization solved
umount_crypto cleaned
automatic style importing for validation
2005-07-25 11:02:47 +00:00

27 lines
829 B
Bash
Executable file

#!/bin/sh
#
# this script looks for the devel-features.sh script
# if it exists, it will be executed - this is
# ONLY FOR DEVELOPMENT CDs!
# for release CDs the file devel-features.sh script should never exist!
#
set -eu
# parse config file
. /etc/cryptobox/cryptobox.conf
# return, if it does not exist
[ ! -e "$DEV_FEATURES_SCRIPT" ] && 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
$DEV_FEATURES_SCRIPT "$@"