28 lines
389 B
Bash
Executable File
28 lines
389 B
Bash
Executable File
#!/bin/sh
|
|
|
|
PREREQ=""
|
|
DESCRIPTION="Setting up /cdrom mountpoint"
|
|
|
|
. /scripts/casper-functions
|
|
|
|
prereqs()
|
|
{
|
|
echo "$PREREQ"
|
|
}
|
|
|
|
case $1 in
|
|
# get pre-requisites
|
|
prereqs)
|
|
prereqs
|
|
exit 0
|
|
;;
|
|
esac
|
|
|
|
log_begin_msg "$DESCRIPTION"
|
|
|
|
# Move to the new root filesystem so that programs there can get at it.
|
|
mkdir -p /root/cdrom
|
|
mount -n -o move /cdrom /root/cdrom
|
|
|
|
log_end_msg
|