|
From: Friedrich L. <fl...@fl...> - 2006-05-04 16:12:33
|
Hello!
Take a look at this code fragment from config/etc/initrd/linuxrc (DL 1.2
branch), especially the IF at the end:
------------------------ CODE ------------------------
echo -e "Please insert Configuration Media and press 'ENTER'"
read ANS
fi
echo
done
unset ANS RET
echo $DL_CONFIG_SOURCE > /shm/DL_CONFIG_SOURCE
echo $DL_CONFIG_FILE > /shm/DL_CONFIG_FILE
export DL_CONFIG_SOURCE
export DL_CONFIG_FILE
mkdir -p /shm/root
# check if the DL ISO got upgraded
if [ -e /shm/dl_iso_replaced ]; then
cd /cdrom
#change to new root
pivot_root . initrd
$RED
echo "Rebooting..."
$NORMAL
exec /usr/sbin/chroot . /sbin/reboot -f
fi
------------------------ /CODE ------------------------
My conclusions regarding the IF are:
* old and not used anymore as reboot's after an upgrade
are (currently) handled by mount_cdrom
* reboot doesn't work anyway - see attachment
So I'd say I remove the IF completely. Objections?
--
MfG / Regards
Friedrich Lobenstock
____________________________________________________________________
Friedrich Lobenstock Linux Services Lobenstock
URL: http://www.lsl.at/ Email: fl...@fl...
____________________________________________________________________
|