# This is a shell script that is sourced by some other scripts to get
# configuration values. Therefore normal shell syntax applies.

# customize here
# This variable specifies how often the save-etc script tries to save the data
# before giving up (this might happen when another process is changing files
# on /etc while saving is in progress).
MAX_SAVE_TRIES=5

# This variables specifies how often save-config tries to mount the floppy
# disk before giving up.
MAX_DISK_TRIES=5
DISK_TIMEOUT=20

# the target where the configuration should be saved to
# this is the type of saving access, valid values are
# "floppy", "hdd", "ssh" and "email"
SAVE_TARGET=floppy
# valid values for floppy devices: starting with "/dev/floppy/"
SAVE_TARGET_FLOPPY=/dev/floppy/0
# harddisk partition devices: starting with "/dev/hd" or "/dev/sd"
SAVE_TARGET_HDD=/dev/hda1
# ssh: a valid scp (secure copy with ssh) target string (e.g. user@host:path)
SAVE_TARGET_SSH=root@save-host.some.domain:/gibraltar-config/
# email: a valid email address
SAVE_TARGET_EMAIL=gibraltar-config@some.domain

# sepcifies wheter a given device (e.g. a floppy) should be automatically
# formatted if it can not be accessed (only used for types "floppy" and "hdd")
# valid values are "yes" and "no"
SAVE_AUTOFORMAT=no
# the filesystem to format the device with, valid values are "vfat" and "ext2"
SAVE_FILESYSTEM=ext2

# This is the maximum size of the dynamic /var ramdisk. You can append
# "k", "m" and "g" for kilo, mega and giga bytes.
VARDISK_SIZE=4m
# This is the maximum size for the dynamic /etc ramdisk. The same units can
# be used here.
ETCDISK_SIZE=4m
# This is the maximum size of the dynamic /tmp ramdisk. The same units can
# be used here. The creation of a ramdisk for /tmp can be disabled by setting
# this to "0"
TMPDISK_SIZE=2m
