From: <bl...@us...> - 2003-10-21 22:49:23
|
Update of /cvsroot/devil-linux/build/scripts/scripts In directory sc8-pr-cvs1:/tmp/cvs-serv4837/build/scripts/scripts Modified Files: upgrade-config Log Message: More verbose messages in upgrading config. Index: upgrade-config =================================================================== RCS file: /cvsroot/devil-linux/build/scripts/scripts/upgrade-config,v retrieving revision 1.2 retrieving revision 1.3 diff -u -d -r1.2 -r1.3 --- upgrade-config 21 Oct 2003 03:07:15 -0000 1.2 +++ upgrade-config 21 Oct 2003 17:09:38 -0000 1.3 @@ -17,6 +17,11 @@ return $? } +# Display a message dialog box +msgbox() { + $DIALOG --title "$1" --backtitle "$BACKTITLE" --msgbox "$2" 0 0 +} + # Modify values in a system configuration file mod_config() { rm -f $TMPC @@ -43,6 +48,7 @@ [ $height -gt $linecount ] && height=$linecount } +echo if [ -e $RAMDISKDIR/newconfig ]; then echo /shm/newconfig exists, please remove. exit 1 @@ -78,6 +84,8 @@ [ $f = "etc/.pwd.lock" ] && continue cmp -s $f newconfig/$f || echo $f \"\" off \"$f\" >> $TMPD done + +msgbox "Please read:" "The next screen will let you select which of your old config files you want to copy to your new configuration \n\nBe VERY CAREFUL to only copy files you have customized. Copying other files could cause severe problems.\n\nNote: Selecting \"Help\" will display info about the current file, but upon return you will lose all selections made." while true do |