2009-10-09 01:11:09 +00:00
|
|
|
#!/bin/sh
|
|
|
|
|
|
|
|
#
|
|
|
|
# This script is run inside of the initramfs environment during the
|
2010-05-17 15:43:30 +00:00
|
|
|
# system boot process. It is installed there by 'update-initramfs'.
|
|
|
|
# The # package that owns it may opt to install it in an appropriate
|
|
|
|
# location under "/usr/share/initramfs-tools/scripts/".
|
2009-10-09 01:11:09 +00:00
|
|
|
#
|
2010-05-17 15:43:30 +00:00
|
|
|
# see initramfs-tools(8) for more details.
|
2009-10-09 01:11:09 +00:00
|
|
|
|
|
|
|
#
|
|
|
|
# List the soft prerequisites here. This is a space separated list of
|
|
|
|
# names, of scripts that are in the same directory as this one, that
|
|
|
|
# must be run before this one can be.
|
|
|
|
#
|
|
|
|
PREREQ=""
|
|
|
|
|
|
|
|
prereqs()
|
|
|
|
{
|
|
|
|
echo "$PREREQ"
|
|
|
|
}
|
|
|
|
|
|
|
|
case $1 in
|
|
|
|
# get pre-requisites
|
|
|
|
prereqs)
|
|
|
|
prereqs
|
|
|
|
exit 0
|
|
|
|
;;
|
|
|
|
esac
|
|
|
|
|
|
|
|
# Do the work here.
|
|
|
|
|
|
|
|
echo "Got here!"
|
|
|
|
|
|
|
|
exit 0
|