#!/bin/sh

#
# This is example of linux.boot.cfg for initrd for Palm Linux. It can also
# serve as a manual. Commented settings are default values. Latest version of
# this initrd can be found on http://atrey.karlin.mff.cuni.cz/~miska If you've
# got some questions, you can ask them |miska| on IRC:
#       irc.freenode.net
#       Channels:
#               #hackndev
#               #hackndev-cz
#

#########################################################################
#                                                                       #
#                           User functions                              #
#                                                                       #
# These functions let you do some more complicated actions during boot. #
#                                                                       #
#########################################################################

#
# If you want to do something important before mounting any filesystem,
# you can use this function. Nothing is mounted at the moment.
#
# premount() {
#       echo "  Nothing to do..."
# }
#
# If you want to do something important before changing root, you can use
# this function. Your root is mounted as /newroot, your home is mounted as
# /home/root, memory card can be found at /mnt/mmc.
#
# prefinish() {
#       echo "  Nothing to do..."
# }
#
# If you want to do something important before running init from rootfs,
# you can use this function. Your rootfs is already / and all modules are
# loaded already.
#
# preinit() {
#       echo "  Nothing to do..."
# }


#########################################################################
#                                                                       #
#                        Filesystem settings                            #
#                                                                       #
# Folowing variables defines, what should be mounted and where. Paths   #
# relative to your SD/MMC card.                                         #
#                                                                       #
#########################################################################

#
# If you want to use swap, set your path to swap file here.
#
# SWAP=linux/swapfs
#
# If you are using readonly root filesystem (for example squashfs-lzma)
# you should set SQUASHROOT variable. If selected file doesn't exists,
# $ROOT is mounted as read-write rootfs. If $SQUASHROOT exists, initrd
# use it as one branch (read-only) of aufs root. $ROOT is used as
# writeable branch in this case. Both $SQUASHROOT and $ROOT can't contain
# ':' because it's used as a separator in Image selector (more info in
# next section of this manual).
#
# SQUASHROOT=linux/rootfs.squash
# ROOT=linux/rootfs.ext2
#
# Separate filesystem with modules. Very usable if you want to use same
# root filesystem on different machines. Or if you want to try another
# root filesystem originaly not designed for your device.
#
# MODULES=linux/modules.squash
#
# Separate filesystem for your home (/home/root). It should be writeable.
# It's good idea to have separate home if you are planing to change your
# root filesystem.
#
# HOMEDIR=linux/home.ext2
#

#########################################################################
#                                                                       #
#                           Image selector                              #
#                                                                       #
# Folowing variables controls behaviour of image selector. This part of #
# ramdisk let you choose between several root filesystem on the boot by #
# using just enter key (center of your Dpad).                           #
#                                                                       #
#########################################################################

#
# If you want to use image selector, you have to specify more then one
# root filesystem. You can use for it variables as SQUASHROOT and ROOT.
# You can put there ':' separated list of possible options.
#
# WARNING! Every one of these lists (SQUASHROOT, ROOT, DESCRIPTION) has
# to have same number of items.
#
# How long ramdisk should wait before it loads selected entry? Number in
# seconds
#
# DELAY=5
#
# User friendlier description of root filesystems. It's ':' separated
# list of names. If nothing is specified, SQUASHROOT variable is used
# instead.
#
# DESCRIPTION="$SQUASHROOT"
#

#########################################################################
#                                                                       #
#                         Aditional settings                            #
#                                                                       #
# Folowing variables controls some other behaviour, which is not        #
# covered by any of previous settings.                                  #
#                                                                       #
#########################################################################


#
# Set this variable to your hostname. Initscript sets it on every boot.
#
# MACHINE=palmtx
#
# Blank separated list of modules to be loaded on boot.
#
# MODPROBE=palmtx_battery
#