some example configuration files for hook scripts added
removed obsolete configuration files (old perl version)
This commit is contained in:
parent
56018c74df
commit
7e500b232d
13 changed files with 26 additions and 63 deletions
9
conf-examples/apache2_dav-share.conf-template
Normal file
9
conf-examples/apache2_dav-share.conf-template
Normal file
|
@ -0,0 +1,9 @@
|
||||||
|
# this file is part of the CryptoBox
|
||||||
|
# put it into /etc/cryptobox/apache2_dav-share.conf-template
|
||||||
|
|
||||||
|
Alias "/cryptobox/_VOLUME_NAME_" "_SHARE_DIR_"
|
||||||
|
|
||||||
|
<Location "/cryptobox/_VOLUME_NAME_">
|
||||||
|
Dav filesystem
|
||||||
|
</Location>
|
||||||
|
|
11
conf-examples/apache2_dav.conf
Normal file
11
conf-examples/apache2_dav.conf
Normal file
|
@ -0,0 +1,11 @@
|
||||||
|
# this file is part of the CryptoBox
|
||||||
|
# put it into /etc/apache2/conf.d/
|
||||||
|
|
||||||
|
<IfModule mod_dav_fs.c>
|
||||||
|
# lock database - should be writeable for www-data
|
||||||
|
DavLockDB /tmp/dav_lock.db
|
||||||
|
# a longer value than the default (120) help for high-latency networks
|
||||||
|
DavMinTimeout 600
|
||||||
|
# include the configuration file, that will contain "include" lines for every share
|
||||||
|
Include /etc/cryptobox/apache2_dav-includes.conf
|
||||||
|
</IfModule>
|
|
@ -1,36 +0,0 @@
|
||||||
# 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
|
|
||||||
|
|
|
@ -1 +0,0 @@
|
||||||
192.168.0.23
|
|
|
@ -1 +0,0 @@
|
||||||
en
|
|
|
@ -1 +0,0 @@
|
||||||
30
|
|
|
@ -1 +0,0 @@
|
||||||
0.3
|
|
|
@ -1,11 +0,0 @@
|
||||||
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!
|
|
||||||
|
|
|
@ -1,12 +0,0 @@
|
||||||
# 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
|
|
||||||
|
|
6
conf-examples/samba-share.conf-template
Normal file
6
conf-examples/samba-share.conf-template
Normal file
|
@ -0,0 +1,6 @@
|
||||||
|
[_VOLUME_NAME_]
|
||||||
|
comment = CryptoBox share
|
||||||
|
path = _SHARE_DIR_
|
||||||
|
read only = yes
|
||||||
|
guest ok = yes
|
||||||
|
|
Loading…
Reference in a new issue