Technical data
B. Appendixes to optional packages
parameter custom is optional. By using it you can set environment variables needed for the
command used. If more than one variable has to be set separate them by a .
Please do not change the environment variable PATH because otherwise the following
crontab entries could not be executed correctly anymore.
#
# example I: normal use, 2 parameters
#
crontime="0 5 1 * *"
croncmd="rotate_i_log.sh"
add_crontab_entry "$crontime" "$croncmd"
#
# end of example I
#
#
# example II: extended use, 3 parameters and
# multiple environment values
#
croncustom="source=/var/log/current \\ dest=/mnt/data/log"
croncmd='cp $source $dest-`date +\%Y\%m\%d`; > $source'
crontime="59 23 * * *"
add_crontab_entry "$crontime" "$croncmd" "$croncustom"
#
# end of example II
#
The accuracy of the entries must be ensured by the calling script.
B.5. HD - Possible Errors Concerning Hardisks/CompactFlashs
Problem:
• the router does not recognize the harddisk at all.
Possible Causes:
• the router lacks drivers for the hd-controller - additional drivers for the controller may
be needed. Configure OPT_HDDRV in this case.
• BIOS entry for the disk is wrong.
• Controller is defective or switched off.
352










