diff options
Diffstat (limited to 'scripts/casper-bottom/05mountpoints')
| -rwxr-xr-x | scripts/casper-bottom/05mountpoints | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/scripts/casper-bottom/05mountpoints b/scripts/casper-bottom/05mountpoints new file mode 100755 index 0000000..ca8845a --- /dev/null +++ b/scripts/casper-bottom/05mountpoints @@ -0,0 +1,27 @@ +#!/bin/sh + +PREREQ="" +DESCRIPTION="Moving mount points..." + +. /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 |
