#!/bin/sh ############################### # RAMDISK RESCUE # Copyright (c) 2006 Marcus Brown # # custom.txt # # Build date: 20061028015932 # # This file is used to set variables and/or # execute additional code before Ramdisk # Rescue is fully executed. # # This functionality was actually added # during development so that new versions of # Ramdisk Rescue could be tested without # creating a new ramdisk. # # Viewing/editing of this file is best done # at 75% zoom in Pocket Word. # #################### # # INSTALL_SIZE # # Determines the size of the new ext2 # (Linux) partition. This is also the # (absolute) minimum amount of free space # needed on the target flash card. # # DEFAULT=64 # # Notes: # - The size is rounded to the nearest # cylinder boundary. # - Cylinder sizes change with weather ;). # - In theory, it should be possible to # install to a 64MB flash card by reducing # the install size and deleting the source # image after initial extraction, however # as this is untested, the minimum # recommended card size is 128MB. # INSTALL_SIZE=80 #################### # # RR_PATH # # This is the directory with RamdiskRescue # files (initrd, custom.txt, startup.txt, # haret.exe) in it. # # WARNING: If for some reason default value # does not work for you, you must set this # variable on kernel command line. Changing # its value here will have no effect (due # to chicken'n'egg problem). It is mentioned # here for completeness. # # DEFAULT="/linux/rescue" # # RR_PATH="/linux/rescue" #################### # # IMAGE_PATH # # This is the directory that contains # installation archive. It can be in one of # two formats: # 1. Root file system tarball (tar.bz2) and # kernel (zImage). # 2. Familiar installation tarball, containing # above and some other files. # # DEFAULT: Value of RR_PATH # # IMAGE_PATH="$RR_PATH/image" #################### # # INSTALL_PATH # # This is the directory to which Linux boot # files (HaRET, startup.txt and zImage) will # be copied. After installation is complete, # you will boot it by running haret.exe in # this directory. Note: this must be different # from RR_PATH. # # DEFAULT: /linux # # INSTALL_PATH="/linux" #################### # # EXPORT_LOG # # This setting allows a compressed (gzip) # log file to be written to the FAT # partition on the TARGET card at the end of # the install/extraction procedure. If the # user is experiencing problems, this syslog # should be attached to an email stating the # problem, devices and procedures used. # # Note: # - Set to false if the syslog a nuisance. # # DEFAULT=true # EXPORT_LOG=true #################### # # IP_ADDRESS # # This is the IP address of the Ramdisk # Rescue Handheld. # # DEFAULT="192.168.1.203" # # Notes: # - Setting this is only necessary if you # intend to use the SSH to access the # Ramdisk Rescue Handheld. # - It is suggested that you use a different # IP to that of your planned (current) # Linux Handheld or you will possibly # encounter "problems" with mismatching # SSH keys. # IP_ADDRESS="192.168.1.203" #################### # # HOST_IP # # This is the IP address of the USB # interface on your host. # ***--NOT-THE-ETHERNET-IP--*** # ***---ON--YOUR--HOST--!!!---*** # # DEFAULT="192.168.1.200" # # Notes: # - Setting this variable is only necessary # if you wish to access a network FROM # your Ramdisk Rescue Handheld. # HOST_IP="192.168.1.200" #################### # # DNS_IP # # This is the IP address of the DNS server # for your network. # # DEFAULT=HOST_IP (see above) # # Notes: # - Setting this variable is only necessary # if you want to access websites FROM your # Ramdisk Rescue Handheld. # eg. for downloading packages for # installation, etc. # DNS_IP="192.168.0.254" #################### # # FRAMEBUFFER_TIMEOUT # # This is the terminal timeout in seconds # before it blanks. # # DEFAULT=0 (ie. off) # # Notes: # - Changing this should be unecessary. # FRAMEBUFFER_TIMEOUT=0 #################### # # FRAMEBUFFER_RESET # # This is the reset command to execute for # the screen, and is really only necessary # when HaRET takes longer than WinCE's # backlight timeout to boot RR. # # Notes: # - changing this should be unecessary. # - Use single quotes *'*, not double *"*. # - Any shell commands can be included. # - It is not known if the fb reset problem # is machine (ie. h2200) dependent, WinCE # version (ie. PPC2003) dependent, or # controller code (ie. mq11xx) dependent. # It occurs VERY RARELY (< 1% of fails?). # FRAMEBUFFER_RESET='' #################### # # SHOW_BUTTONS # # This is used to disable the button graphic # on the main menu page for unsupported # screen sizes. # # DEFAULT=true # SHOW_BUTTONS=true