But... neither g4u, nor my name were mentioned on the page. Contacting the author -- who only calls himself "nme", with no real name or even postal address on the page -- I was told that g4l was not based on g4u, and it's pure coincidence that the two programs look & feel the same. I wish I could believe that!
What's worse in my eyes is that I placed g4u under an Open Source license. Not the GPL everyone seems so fond of nowadays, but the BSD License which I find easier to understand and follow - and which protects software authors' intellectual property equally well. IF the license is acknowledged, which it was not by the g4l author. Not only that he didn't mention g4l is based on g4u, far worse, my copyright, license and all traces of who did the real work were removed from g4l, and replaced with the g4l author's nickname and email address. He didn't dare doing this under his real name, but it's a bad infringement of the BSD license and my copyright nonetheless, which explicitly states that the author's (my) name should be left in, and advertisement material (such as webpage, etc.) should mention my name and g4u:
/* * Copyright (c) 1999, 2000, 2001, 2002, 2003, 2004 * Hubert Feyrer . All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions * are met: * 1. Redistributions of source code must retain the above copyright * notice, this list of conditions and the following disclaimer. * 2. Redistributions in binary form must reproduce the above copyright * notice, this list of conditions and the following disclaimer in the * documentation and/or other materials provided with the distribution. * 3. All advertising materials mentioning features or use of this software * must display the following acknowledgement: * This product includes software developed by Hubert Feyrer * 4. Neither the name of the author nor the names of its contributors * may be used to endorse or promote products derived from this software * without specific prior written permission.
I find it sad that people take free code and don't even think of admitting this, not to speak of credit where credit is due, and gratiously changing copyright messages and licenses of code not written by them only to replace them with the license they find better.
To add a few more facts establishing that it was really me who did all the work on g4u and aparently most of g4l, traces of g4u go back to 2001, where I added it to Freshmeat, g4u was mentioned on Slashdot in 2002, it has it's own Orkut community for a few weeks and was described in the O'Reilly BSD Hacks book, not to speak of various newsgroup and mailing list postings. Search Google for more evidence that g4u is my intellectual property.
I ask everyone to disregard the g4l author and his practices, and make sure people do understand what they do when dealing with intellectual property, either their own or even more if it's from someone else. People interested in supporting me and g4u can do so on the g4u homepage, http://www.feyrer.de/g4u/.
|
g4l/g4l:
#!/bin/sh # # # # # # # : ${DIALOG=dialog} : ${DIALOG_OK=0} : ${DIALOG_CANCEL=1} : ${DIALOG_ESC=255} tempfilemain=`tempfile 2>/dev/null` || tempfilemain=/tmp/testmain&& trap "rm -f $tempfilemain" 0 1 2 5 15 tempfilenet=`tempfilenet 2>/dev/null` || tempfilenet=/tmp/testnet$$ trap "rm -f $tempfilenet" 0 1 2 5 15 tempfileftp=`tempfileftp 2>/dev/null` || tempfileftp=/tmp/testftp$$ trap "rm -f $tempfileftp" 0 1 2 5 15 tempfileback=`tempfileback 2>/dev/null` || tempfileback=/tmp/testback$$ trap "rm -f $tempfileback" 0 1 2 5 15 tempfilebackpart=`tempfilebackpart 2>/dev/null` || tempfilebackpart=/tmp/testbackpart$$ trap "rm -f $tempfilebackpart" 0 1 2 5 15 tempfilename=`tempfilename 2>/dev/null` || tempfilename=/tmp/testname$$ trap "rm -f $tempfilename" 0 1 2 5 15 tempfilegzip=`tempfilegzip 2>/dev/null` || tempfilegzip=/tmp/testgzip$$ trap "rm -f $tempfilegzip" 0 1 2 5 15 tempfilerest=`tempfilerest 2>/dev/null` || tempfilerest=/tmp/testrest$$ trap "rm -f $tempfilerest" 0 1 2 5 15 tempfilerestoart=`tempfilerestpart 2>/dev/null` || tempfilerestpart=/tmp/testrestpart$$ trap "rm -f $tempfilerestpart" 0 1 2 5 15 ftpfile=.netrc imagepath=img backtitle="g4l v0.12, (c) nme 2004" $DIALOG --backtitle "$backtitle" \ --title "INFORMATION" --clear \ --yesno "g4l - Gh*st for Linux \n \ Copyright (C) 2004 nme \n\n \ g4l comes with ABSOLUTELY NO WARRANTY; for details \n \ see 'licencse/gpl.txt'. This is free Software, and \n \ your are welcome to redistribute it under certain \n \ conditions; see 'licencse/redist.txt' for details. \n\n \ USE AT OWN RISK!\n \ Accept these conditions? YES to proceed, NO to quit. " 15 61 case $? in 0) #Yes chosen #go to main screen while [ "$retvalmain" != "1" ] do $DIALOG --clear --backtitle "$backtitle" \ --title "MAIN MENU" \ --menu "Chose one of the following options: \n\n" 20 65 10 \ "Set Network" "Configure device eth0" \ "Set FTP data" "Configure FTP IP and Username/Pass" \ "Set filename" "Set target/source filename for image" \ "Toggle Compression" "Set GZip Comression ON/OFF" \ "Backup Disk" "Create a drive Image on the FTP" \ "Restore Disk" "Write image from FTP to disk" \ "Backup Partition" "Create a partition image on FTP" \ "Restore Partition" "Write image from FTP to partition" \ "Show GPL" "Displays the GNU Public License" \ "Show Redist" "Displays the redistributional conditions" 2> $tempfilemain retvalmain=$? choicemain=`cat $tempfilemain` case $retvalmain in 0) #echo "'$choicemain' chosen." case $choicemain in "Set Network") $DIALOG --backtitle "$backtitle" \ --title "Set Network" --clear \ --inputbox "Set IP Address to match your subnet. \ \nExample: 192.168.0.5 \ \n\nEnter IP Address:" 16 51 2> $tempfilenet retvalnet=$? case $retvalnet in 0) ipaddress=`cat $tempfilenet` /sbin/ifconfig eth0 $ipaddress up ;; 1) #echo "Cancel pressed." ;; 255) if test -s $tempfilenet ; then ipaddress=`cat $tempfilenet` /sbin/ifconfig eth0 $ipaddress up fi ;; esac ;; "Set FTP data") $DIALOG --backtitle "$backtitle" \ --title "Set FTP data" --clear \ --inputbox "Enter Username, Password and IP Address of FTP Server. \ \nUse format user:password@ftp_ip \ \nExample: john:secret@192.168.0.1 \ \n\nFTP Data:" 16 51 2> $tempfileftp retvalftp=$? case $retvalftp in 0) ftpdata=`cat $tempfileftp` user=`echo $ftpdata | sed 's/:.*$//'` password=`echo $ftpdata | sed 's/.*://' | sed 's/@.*//'` server=`echo $ftpdata | sed 's/.*.@//'` ;; 1) #echo "Cancel pressed." ;; 255) if test -s $tempfileftp ; then ftpdata=`cat $tempfileftp` user=`echo $ftpdata | sed 's/:.*$//'` password=`echo $ftpdata | sed 's/.*://' | sed 's/@.*//'` server=`echo $ftpdata | sed 's/.*.@//'` fi ;; esac ;; "Set filename") $DIALOG --backtitle "$backtitle" \ --title "Set filename" --clear \ --inputbox "Enter filename of the image which is stored on the FTP server. \ \nExample: hda_workstation2.img \ \n\nFilename:" 16 51 2> $tempfilename retvalname=$? case $retvalnet in 0) imagename=`cat $tempfilename` ;; 1) #echo "Cancel pressed." ;; 255) if test -s $tempfilename ; then imagename=`cat $tempfilename` fi ;; esac ;; "Toggle Compression") $DIALOG --backtitle "$backtitle" \ --title "Toggle Compression" \ --radiolist "Choose wether to use GZip Compression or not. \ \nBe careful, GZip requires much CPU power!" 20 61 5 \ "ON" "GZip compression ON." ON \ "OFF" "GZip compression OFF." off 2> $tempfilegzip retvalgzip=$? choicegzip=`cat $tempfilegzip` case $retvalgzip in $DIALOG_OK) gzip=`cat $tempfilegzip` ;; $DIALOG_CANCEL) #echo "Cancel pressed." ;; $DIALOG_ESC) if test -s $tempfilegzip ; then gzip=`cat $tempfilegzip` fi ;; esac ;; "Backup Disk") if [ "$ipaddress" = "" ] ; then $DIALOG --backtitle "$backtitle" \ --title "ERROR" --clear \ --msgbox "No Networtk IP Address for eth0 set! \n ->Back to Main Menu." 10 41 continue fi if [ "$user" = "$ftpdata" -o "$user" = "$server" ] ; then $DIALOG --backtitle "$backtitle" \ --title "WARNING" --clear \ --msgbox "No FTP User/Password set, using default \n User: g4l \n Password: g4lg4l" 10 41 #no user/pw given, set to default user=g4l password=g4lg4l fi if [ "$server" = "" ] ; then $DIALOG --backtitle "$backtitle" \ --title "ERROR" --clear \ --msgbox "No FTP IP Address set! \n ->Back to Main Menu." 10 41 continue fi if [ "$imagename" = "" ] ; then $DIALOG --backtitle "$backtitle" \ --title "WARNING" --clear \ --msgbox "No filename for image set, using default \n Filename: image.img.gz" 10 41 imagename=image.img.gz fi if [ "$gzip" = "" ] ; then $DIALOG --backtitle "$backtitle" \ --title "WARNING" --clear \ --msgbox "Compression not defined, using default \n GZip compression: ON" 10 41 gzip=ON fi #cat /proc/partitions | awk '{print $3, $4}' $DIALOG --backtitle "$backtitle" \ --title "Backup Drive" \ --radiolist "Choose Drive to backup\n\ Select from:" 20 61 5 \ "/dev/hda" "First IDE Drive." ON \ "/dev/hdb" "Second IDE Drive." off \ "/dev/hdc" "Third IDE Drive." off \ "/dev/hdd" "Fourth IDE Drive." off \ "/dev/sda" "First SCSI/sATA Drive." off \ "/dev/sdb" "Second SCSI/sATA Drive." off \ "/dev/sdc" "Third SCSI/sATA Drive." off \ "/dev/sdd" "Fourth SCSI/sATA Drive." off 2> $tempfileback retvalback=$? choiceback=`cat $tempfileback` case $retvalback in $DIALOG_OK) #BACKUPDISK CODE HERE disk=$choiceback rm -f $ftpfile echo >>$ftpfile default login $user password $password echo >>$ftpfile macdef init echo >>$ftpfile cd $imagepath echo >>$ftpfile put - $imagename echo >>$ftpfile quit echo >>$ftpfile chmod 700 $ftpfile $DIALOG --backtitle "$backtitle" \ --title "About to backup disk" --clear \ --yesno "Collected information: \ \nLocal IP Address: $ipaddress \ \nFTP IP Address: $server \ \nUsername: $user \ \nPassword: $password \ \nTarget imagename: $imagename \ \nSource Drive: $disk \ \n\nAre you sure?" 15 61 case $? in 0) #YES if [ "$gzip" = "ON" ] ; then #create image with gzip ON time dd if=$disk bs=1M | gzip -c - | ftp $server >>/dev/tty2 2>>/dev/tty2 & $DIALOG --backtitle "$backtitle" \ --title "Working..." --clear \ --msgbox "See transfer log on tty2 by pressing ALT+F2" 10 41 fi if [ "$gzip" = "OFF" ] ; then #create image with gzip OFF time dd if=$disk bs=1M | ftp $server >>/dev/tty2 2>>/dev/tty2 & $DIALOG --backtitle "$backtitle" \ --title "Working..." --clear \ --msgbox "See transfer log on tty2 by pressing ALT+F2" 10 41 fi rm -f $ftpfile ;; 1) #NO ;; 255) #ESC ;; esac ;; $DIALOG_CANCEL) #echo "Cancel pressed." ;; $DIALOG_ESC) #echo "ESC pressed." ;; esac ;; "Restore Disk") if [ "$ipaddress" = "" ] ; then $DIALOG --backtitle "$backtitle" \ --title "ERROR" --clear \ --msgbox "No Networtk IP Address for eth0 set! \n ->Back to Main Menu." 10 41 continue fi if [ "$user" = "$ftpdata" -o "$user" = "$server" ] ; then #no user/pw given, set to default user=g4l password=g4lg4l fi if [ "$server" = "" ] ; then $DIALOG --backtitle "$backtitle" \ --title "ERROR" --clear \ --msgbox "No FTP IP Address set! \n ->Back to Main Menu." 10 41 continue fi if [ "$imagename" = "" ] ; then $DIALOG --backtitle "$backtitle" \ --title "WARNING" --clear \ --msgbox "No filename for image set, using default \n Filename: image.img.gz" 10 41 imagename=image.img.gz fi if [ "$gzip" = "" ] ; then $DIALOG --backtitle "$backtitle" \ --title "WARNING" --clear \ --msgbox "Compression not defined, using default \n GZip compression: ON" 10 41 gzip=ON fi $DIALOG --backtitle "$backtitle" \ --title "Restore Drive" \ --radiolist "Choose drive to restore the image to \ \n\nSelect from:" 20 61 5 \ "/dev/hda" "First IDE Drive." ON \ "/dev/hdb" "Second IDE Drive." off \ "/dev/hdc" "Third IDE Drive." off \ "/dev/hdd" "Fourth IDE Drive." off \ "/dev/sda" "First SCSI/sATA Drive." off \ "/dev/sdb" "Second SCSI/sATA Drive." off \ "/dev/sdc" "Third SCSI/sATA Drive." off \ "/dev/sdd" "Fourth SCSI/sATA Drive." off 2> $tempfilerest retvalrest=$? choicerest=`cat $tempfilerest` case $retvalrest in $DIALOG_OK) #RESTOREDISK CODE HERE rest=$choicerest $DIALOG --backtitle "$backtitle" \ --title "About to restore disk" --clear \ --yesno "Collected information: \ \nLocal IP Address: $ipaddress \ \nFTP IP Address: $server \ \nUsername: $user \ \nPassword: $password \ \nSource imagename: $imagename \ \nTarget disk: $rest \n\n \ \n\nAre you sure?" 15 61 case $? in 0) #YES if [ "$gzip" = "ON" ] ; then #restore image with gzip ON time ftp -o "|gunzip -c -|dd bs=1M of=$rest" ftp://$user:$password@$server/$imagepath/$imagename >>/dev/tty2 2>>/dev/tty2 & $DIALOG --backtitle "$backtitle" \ --title "Working..." --clear \ --msgbox "See transfer log on tty2 by pressing ALT+F2" 10 41 fi if [ "$gzip" = "OFF" ] ; then #restore image with gzip OFF time ftp -o "|dd bs=1M of=$rest" ftp://$user:$password@$server/$imagepath/$imagename >>/dev/tty2 2>>dev/tty2 & $DIALOG --backtitle "$backtitle" \ --title "Working..." --clear \ --msgbox "See transfer log on tty2 by pressing ALT+F2" 10 41 fi ;; 1) #NO ;; 255) #ESC ;; esac ;; $DIALOG_CANCEL) #echo "Cancel pressed." ;; $DIALOG_ESC) #echo "ESC pressed." ;; esac ;; "Backup Partition") if [ "$ipaddress" = "" ] ; then $DIALOG --backtitle "$backtitle" \ --title "ERROR" --clear \ --msgbox "No Networtk IP Address for eth0 set! \n ->Back to Main Menu." 10 41 continue fi if [ "$user" = "$ftpdata" -o "$user" = "$server" ] ; then $DIALOG --backtitle "$backtitle" \ --title "WARNING" --clear \ --msgbox "No FTP User/Password set, using default \n User: g4l \n Password: g4lg4l" 10 41 #no user/pw given, set to default user=g4l password=g4lg4l fi if [ "$server" = "" ] ; then $DIALOG --backtitle "$backtitle" \ --title "ERROR" --clear \ --msgbox "No FTP IP Address set! \n ->Back to Main Menu." 10 41 continue fi if [ "$imagename" = "" ] ; then $DIALOG --backtitle "$backtitle" \ --title "WARNING" --clear \ --msgbox "No filename for image set, using default \n Filename: image.img.gz" 10 41 imagename=image.img.gz fi if [ "$gzip" = "" ] ; then $DIALOG --backtitle "$backtitle" \ --title "WARNING" --clear \ --msgbox "Compression not defined, using default \n GZip compression: ON" 10 41 gzip=ON fi #cat /proc/partitions | awk '{print $3, $4}' $DIALOG --backtitle "$backtitle" \ --title "Backup Partition" \ --radiolist "Choose Partition to backup \ \n\nSelect from:" 20 61 10 \ "/dev/hda1" "First IDE Drive, first partition." ON \ "/dev/hda2" "First IDE Drive, second partition." off \ "/dev/hda3" "First IDE Drive, third partition." off \ "/dev/hda4" "First IDE Drive, fourth partition." off \ "/dev/hdb1" "Second IDE Drive, first partition." off \ "/dev/hdb2" "Second IDE Drive, second partition." off \ "/dev/hdb3" "Second IDE Drive, thirdt partition." off \ "/dev/hdb4" "Second IDE Drive, fourth partition." off \ "/dev/hdc1" "Third IDE Drive, first partition." off \ "/dev/hdc2" "Third IDE Drive, second partition." off \ "/dev/hdc3" "Third IDE Drive, third partition." off \ "/dev/hdc4" "Third IDE Drive, fourth partition." off \ "/dev/hdd1" "Fourth IDE Drive, first partition." off \ "/dev/hdd2" "Fourth IDE Drive, second partition." off \ "/dev/hdd3" "Fourth IDE Drive, third partition." off \ "/dev/hdd4" "Fourth IDE Drive, fourth partition." off \ "/dev/sda1" "First SCSI/sATA Drive, first partition." off \ "/dev/sda2" "First SCSI/sATA Drive, second partition." off \ "/dev/sda3" "First SCSI/sATA Drive, third partition." off \ "/dev/sda4" "First SCSI/sATA Drive, fourth partition." off \ "/dev/sdb1" "Second SCSI/sATA Drive, first partition." off \ "/dev/sdb2" "Second SCSI/sATA Drive, second partition." off \ "/dev/sdb3" "Second SCSI/sATA Drive, third partition." off \ "/dev/sdb4" "Second SCSI/sATA Drive, fourth partition." off \ "/dev/sdc1" "Third SCSI/sATA Drive, first partition." off \ "/dev/sdc2" "Third SCSI/sATA Drive, second partition." off \ "/dev/sdc3" "Third SCSI/sATA Drive, third partition." off \ "/dev/sdc4" "Third SCSI/sATA Drive, fourth partition." off \ "/dev/sdd1" "Fourth SCSI/sATA Drive, first partition." off \ "/dev/sdd2" "Fourth SCSI/sATA Drive, second partition." off \ "/dev/sdd3" "Fourth SCSI/sATA Drive, third partition." off \ "/dev/sdd4" "Fourth SCSI/sATA Drive, fourth partition." off 2> $tempfilebackpart retvalbackpart=$? choicebackpart=`cat $tempfilebackpart` case $retvalbackpart in $DIALOG_OK) #BACKUPPART CODE HERE part=$choicebackpart rm -f $ftpfile echo >>$ftpfile default login $user password $password echo >>$ftpfile macdef init echo >>$ftpfile cd $imagepath echo >>$ftpfile put - $imagename echo >>$ftpfile quit echo >>$ftpfile chmod 700 $ftpfile $DIALOG --backtitle "$backtitle" \ --title "About to backup partition" --clear \ --yesno "Collected information: \ \nLocal IP Address: $ipaddress \ \nFTP IP Address: $server \ \nUsername: $user \ \nPassword: $password \ \nTarget imagename: $imagename \ \nSource partition: $part \ \n\nAre you sure?" 15 61 case $? in 0) #YES if [ "$gzip" = "ON" ] ; then #create image with gzip ON time dd if=$part bs=1M | gzip -c - | ftp $server >>/dev/tty2 2>>/dev/tty2 & $DIALOG --backtitle "$backtitle" \ --title "Working..." --clear \ --msgbox "See transfer log on tty2 by pressing ALT+F2" 10 41 fi if [ "$gzip" = "OFF" ] ; then #create image with gzip OFF time dd if=$part bs=1M | ftp $server >>/dev/tty2 2>>/dev/tty2 & $DIALOG --backtitle "$backtitle" \ --title "Working..." --clear \ --msgbox "See transfer log on tty2 by pressing ALT+F2" 10 41 fi rm -f $ftpfile ;; 1) #NO ;; 255) #ESC ;; esac ;; $DIALOG_CANCEL) #echo "Cancel pressed." ;; $DIALOG_ESC) #echo "ESC pressed." ;; esac ;; "Restore Partition") if [ "$ipaddress" = "" ] ; then $DIALOG --backtitle "$backtitle" \ --title "ERROR" --clear \ --msgbox "No Networtk IP Address for eth0 set! \n ->Back to Main Menu." 10 41 continue fi if [ "$user" = "$ftpdata" -o "$user" = "$server" ] ; then #no user/pw given, set to default user=g4l password=g4lg4l fi if [ "$server" = "" ] ; then $DIALOG --backtitle "$backtitle" \ --title "ERROR" --clear \ --msgbox "No FTP IP Address set! \n ->Back to Main Menu." 10 41 continue fi if [ "$imagename" = "" ] ; then $DIALOG --backtitle "$backtitle" \ --title "WARNING" --clear \ --msgbox "No filename for image set, using default \n Filename: image.img.gz" 10 41 imagename=image.img.gz fi if [ "$gzip" = "" ] ; then $DIALOG --backtitle "$backtitle" \ --title "WARNING" --clear \ --msgbox "Compression not defined, using default \n GZip compression: ON" 10 41 gzip=ON fi $DIALOG --backtitle "$backtitle" \ --title "Restore Partition" \ --radiolist "Choose Partition to write the image to \ \n\nSelect from:" 20 61 10 \ "/dev/hda1" "First IDE Drive, first partition." ON \ "/dev/hda2" "First IDE Drive, second partition." off \ "/dev/hda3" "First IDE Drive, third partition." off \ "/dev/hda4" "First IDE Drive, fourth partition." off \ "/dev/hdb1" "Second IDE Drive, first partition." off \ "/dev/hdb2" "Second IDE Drive, second partition." off \ "/dev/hdb3" "Second IDE Drive, third partition." off \ "/dev/hdb4" "Second IDE Drive, fourth partition." off \ "/dev/hdc1" "Third IDE Drive, first partition." off \ "/dev/hdc2" "Third IDE Drive, second partition." off \ "/dev/hdc3" "Third IDE Drive, third partition." off \ "/dev/hdc4" "Third IDE Drive, fourth partition." off \ "/dev/hdd1" "Fourth IDE Drive, first partition." off \ "/dev/hdd2" "Fourth IDE Drive, second partition." off \ "/dev/hdd3" "Fourth IDE Drive, third partition." off \ "/dev/hdd4" "Fourth IDE Drive, fourth partition." off \ "/dev/sda1" "First SCSI/sATA Drive, first partition." off \ "/dev/sda2" "First SCSI/sATA Drive, second partition." off \ "/dev/sda3" "First SCSI/sATA Drive, third partition." off \ "/dev/sda4" "First SCSI/sATA Drive, fourth partition." off \ "/dev/sdb1" "Second SCSI/sATA Drive, first partition." off \ "/dev/sdb2" "Second SCSI/sATA Drive, second partition." off \ "/dev/sdb3" "Second SCSI/sATA Drive, third partition." off \ "/dev/sdb4" "Second SCSI/sATA Drive, fourth partition." off \ "/dev/sdc1" "Third SCSI/sATA Drive, first partition." off \ "/dev/sdc2" "Third SCSI/sATA Drive, second partition." off \ "/dev/sdc3" "Third SCSI/sATA Drive, third partition." off \ "/dev/sdc4" "Third SCSI/sATA Drive, fourth partition." off \ "/dev/sdd1" "Fourth SCSI/sATA Drive, first partition." off \ "/dev/sdd2" "Fourth SCSI/sATA Drive, second partition." off \ "/dev/sdd3" "Fourth SCSI/sATA Drive, third partition." off \ "/dev/sdd4" "Fourth SCSI/sATA Drive, fourth partition." off 2> $tempfilerestpart retvalrestpart=$? choicerestpart=`cat $tempfilerestpart` case $retvalrestpart in $DIALOG_OK) #RESTOREPART CODE HERE restpart=$choicerestpart $DIALOG --backtitle "$backtitle" \ --title "About to restore partition" --clear \ --yesno "Collected information: \ \nLocal IP Address: $ipaddress \ \nFTP IP Address: $server \ \nUsername: $user \ \nPassword: $password \ \nSource imagename: $imagename \ \nTarget partition: $restpart \ \n\nAre you sure?" 15 61 case $? in 0) #YES if [ "$gzip" = "ON" ] ; then #restore partimage with gzip ON time ftp -o "|gunzip -c -|dd bs=1M of=$restpart" ftp://$user:$password@$server/$imagepath/$imagename >>/dev/tty2 2>>/dev/tty2 & $DIALOG --backtitle "$backtitle" \ --title "Working..." --clear \ --msgbox "See transfer log on tty2 by pressing ALT+F2" 10 41 fi if [ "$gzip" = "OFF" ] ; then #restore partimage with gzip OFF time ftp -o "|dd bs=1M of=$restpart" ftp://$user:$password@$server/$imagepath/$imagename >>/dev/tty2 2>>dev/tty2 & $DIALOG --backtitle "$backtitle" \ --title "Working..." --clear \ --msgbox "See transfer log on tty2 by pressing ALT+F2" 10 41 fi ;; 1) #NO ;; 255) #ESC ;; esac ;; $DIALOG_CANCEL) #echo "Cancel pressed." ;; $DIALOG_ESC) #echo "ESC pressed." ;; esac ;; "Show GPL") expand license/gpl.txt > /tmp/gpl.expand $DIALOG --backtitle "$backtitle" \ --clear --title "GNU PUBLIC LICENSE" \ --textbox "/tmp/gpl.expand" 22 77 case $? in 0) ;; 255) ;; esac ;; "Show Redist") expand license/redist.txt > /tmp/redist.expand $DIALOG --backtitle "$backtitle" \ --clear --title "Redistributional conditions" \ --textbox "/tmp/redist.expand" 22 77 case $? in 0) ;; 255) ;; esac ;; esac ;; 1) echo "Thanks for using g4l. visit http://g4linux.tripod.com" rm /tmp/* ;; 255) echo "ESC pressed." ;; esac done ;; 1) #No chosen exit 0 ;; 255) #ESC hit exit 0 ;; esac |
Andy Ruhl has posted a nice comment on the issue WRT the GPL to the NetBSD-Advocacy list, and I think he has a good point. Unfortunately.