void-packages/templates/xbps-casper/files/scripts/casper-bottom/05mountpoints

28 lines
383 B
Plaintext
Raw Normal View History

#!/bin/sh
PREREQ=""
DESCRIPTION="Moving mount points..."
. /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