init python rewrite
This commit is contained in:
parent
d0029c26c7
commit
e0ec6cb9a4
126 changed files with 15064 additions and 0 deletions
36
pythonrewrite/conf-examples/cryptobox.conf
Normal file
36
pythonrewrite/conf-examples/cryptobox.conf
Normal 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
|
||||
|
0
pythonrewrite/conf-examples/default-settings/admin_pw
Normal file
0
pythonrewrite/conf-examples/default-settings/admin_pw
Normal file
1
pythonrewrite/conf-examples/default-settings/ip
Normal file
1
pythonrewrite/conf-examples/default-settings/ip
Normal file
|
@ -0,0 +1 @@
|
|||
192.168.0.23
|
1
pythonrewrite/conf-examples/default-settings/language
Normal file
1
pythonrewrite/conf-examples/default-settings/language
Normal file
|
@ -0,0 +1 @@
|
|||
en
|
0
pythonrewrite/conf-examples/default-settings/names.db
Normal file
0
pythonrewrite/conf-examples/default-settings/names.db
Normal file
1
pythonrewrite/conf-examples/default-settings/timeout
Normal file
1
pythonrewrite/conf-examples/default-settings/timeout
Normal file
|
@ -0,0 +1 @@
|
|||
30
|
1
pythonrewrite/conf-examples/default-settings/version
Normal file
1
pythonrewrite/conf-examples/default-settings/version
Normal file
|
@ -0,0 +1 @@
|
|||
0.3
|
11
pythonrewrite/conf-examples/distributions/README
Normal file
11
pythonrewrite/conf-examples/distributions/README
Normal 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!
|
||||
|
12
pythonrewrite/conf-examples/distributions/gnu_linux
Normal file
12
pythonrewrite/conf-examples/distributions/gnu_linux
Normal 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
|
||||
|
Loading…
Add table
Add a link
Reference in a new issue