#!/bin/sh

PREREQ=""
DESCRIPTION="Setting up /cdrom mountpoint"

[ -r /scripts/functions ] && . /scripts/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
