From: Heiko Z. <smi...@us...> - 2004-08-22 13:42:46
|
Update of /cvsroot/devil-linux/build/scripts/scripts In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv27962 Modified Files: Tag: rel-1-2-patches pre_init Log Message: replace version information when upgrading ISO umount file system before rebooting Index: pre_init =================================================================== RCS file: /cvsroot/devil-linux/build/scripts/scripts/pre_init,v retrieving revision 1.19 retrieving revision 1.19.2.1 diff -u -d -r1.19 -r1.19.2.1 --- pre_init 8 May 2004 01:54:07 -0000 1.19 +++ pre_init 22 Aug 2004 13:42:29 -0000 1.19.2.1 @@ -30,13 +30,18 @@ echo "Changed Root" $NORMAL -# check the DL ISO got upgraded +# check if the DL ISO got upgraded if [ -e /shm/dl_iso_replaced ]; then $BLUE echo "Upgrading InitRD" $NORMAL cp -fp /boot/initrd.gz /initrd/mnt/ + cp -fp /DEVIL-LINUX /initrd/mnt/ sync + umount /initrd/mnt/ &> /dev/null + $RED + echo "Rebooting..." + $NORMAL reboot -f fi |