init python rewrite

This commit is contained in:
age 2006-08-14 15:40:12 +00:00
parent d0029c26c7
commit e0ec6cb9a4
126 changed files with 15064 additions and 0 deletions

View file

@ -0,0 +1,36 @@
# this file is directly sourced by some bash scripts
# so there should be no space around the "="
LANGUAGE=en
CRYPTOBOX_USER=cryptobox
SCAN_DEVICES="sd loop"
# web interface
HTML_TEMPLATE_DIR=/usr/share/cryptobox/templates
STYLESHEET_URL=/cryptobox-misc/cryptobox.css
# directories
LANGUAGE_DIR=/usr/share/cryptobox/lang
DOC_DIR=/usr/share/doc/cryptobox/html
CONFIG_DEFAULTS_DIR=/usr/share/cryptobox/defaults
# some files
LOG_FILE=/var/log/cryptobox.log
# crypto settings
# TODO: for now, the usual default cipher does not work on ARM, so we enable it during development
#DEFAULT_CIPHER=aes-cbc-essiv:sha256
DEFAULT_CIPHER=aes
DEV_MAPPER_DIR=/dev/mapper
# distribution specific configuration
# examples can be found in /usr/local/share/cryptobox/distributions
DISTRIBUTION_CONF=/etc/cryptobox/distribution.conf
# choose a debug level:
# 0 => no debug messages at all
# 1 => critical errors (default)
# 2 => warning messages
# 3 => information
DEBUG_LEVEL=1

View file

@ -0,0 +1 @@
192.168.0.23

View file

@ -0,0 +1 @@
en

View file

@ -0,0 +1 @@
30

View file

@ -0,0 +1 @@
0.3

View file

@ -0,0 +1,11 @@
You need to copy one of these files to /etc/cryptobox/distribution.conf.
Choose the one, that fits to your particular operating system - if you are
not sure which operation system you are using, then you should run
uname -o
to get to know yourself :)
If the file for your specific operating system is not available, then you
may consider to send a copy of the one you wrote for yourself to
devel@systemausfall.org.
Thanks!

View file

@ -0,0 +1,12 @@
# program locations for debian
SFDISK=/sbin/sfdisk
MKFS_DATA=/sbin/mkfs.ext3
MKFS_CONFIG=/sbin/mkfs.ext2
CRYPTSETUP=/sbin/cryptsetup
IFCONFIG=/sbin/ifconfig
PMOUNT=/bin/pmount
PUMOUNT=/bin/pumount
BLKID=/sbin/blkid
POWEROFF=/sbin/poweroff
REBOOT=/sbin/reboot