. /live.vars
_CMDLINE="$(cat /proc/cmdline)"
- Cmdline
Cmdline_old
- case "${LIVE_DEBUG}" in
- true)
- set -x
- ;;
- esac
+ Debug
Read_only
Select_eth_device
+ if [ -e /conf/param.conf ]
+ then
+ . /conf/param.conf
+ fi
+
# Needed here too because some things (*cough* udev *cough*)
# changes the timeout
panic "Unable to find a medium containing a live file system"
fi
- case "${LIVE_VERIFY_CHECKSUMS}" in
- true)
- Verify_checksums "${livefs_root}"
- ;;
- esac
+ Verify_checksums "${livefs_root}"
if [ "${TORAM}" ]
then
esac
# Move to the new root filesystem so that programs there can get at it.
- if [ ! -d /root/live/image ]
- then
- mkdir -p /root/live/image
- mount --move /live/image /root/live/image
- fi
+ mkdir -p /root/live/image
+ mount --move /live/image /root/live/image
# aufs2 in kernel versions around 2.6.33 has a regression:
# directories can't be accessed when read for the first the time,
ls /root/* >/dev/null 2>&1
# Move findiso directory to the new root filesystem so that programs there can get at it.
- if [ -d /live/findiso ] && [ ! -d /root/live/findiso ]
+ if [ -d /live/findiso ]
then
mkdir -p /root/live/findiso
mount -n --move /live/findiso /root/live/findiso