System information

Shell Script Examples
Axis Communications AB provides NO support for application development of any kind. The information
here is provided "as is", and there is no guarantee that any of the examples shown will work in your
particular application.
Revision 1.02 October 2002 71
seq_sources="1"
# The format of the images specified to be taken according to the HTTP-
# API for the sequential images
seq_image_format="fullsize"
# The type of the suffix to use on the uploaded files. Either "date"
# for the date, or "sequence" for an index limited by $countermax or
# "sequenced_max" for an index up to the internal maximum integer
suffix="sequenced_max"
# Define the maximum value of the counter
counter_max=200
# --- FTP parameters ---
# The server to upload to
ftp_server="10.13.9.210"
# The port to connect to
port=21
# The user to login as
user=user
# The pass to use for the user
pass=pass
# Choose passive mode on ("yes") or off ("no") (See documentation on
# FTP protocol)
passive_mode="no"
# The path to append to all uploads. This path must exist on the
# server prior to upload
destination="upload/2400test"
# The path to append to sequential uploads. This path must exist on
# the server prior to upload
seq_destination="upload/sequential"
# --- SMTP parameters ---
# The server to use as mail server
smtp_server="mail.somewhere.com"
# The subject to use in the mail
subject="'Alarm'"
# The specified sender
from="someone@somewhere.com"
# The specified receiver of reply
reply="someone@somewhere.com"
# The specified receiver of a copy of this mail
cc="someone@somewhere.com "
# The body to insert into the mail. Note that this must be specified
# and point to a valid file
body="/tmp/var/log/messages"
# The specified recipient
to="someone@somewhere.com"