From: hackbard Date: Mon, 25 Nov 2002 23:32:15 +0000 (+0000) Subject: x X-Git-Url: https://hackdaworld.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=eea7b0f3e29f462575ee58c5570716a3f8ff16ac;p=scripts%2Fscripts.git x --- diff --git a/backup.sh b/backup.sh index e2d401d..56031d6 100755 --- a/backup.sh +++ b/backup.sh @@ -28,7 +28,6 @@ else exit 1 fi -echo this if [ ! -z "$2" ] ; then if [ "$2" = "-backup_dir" -a -d $3 ] ; then echo "using $3 as a backup directory ..." @@ -36,7 +35,6 @@ if [ "$2" = "-backup_dir" -a -d $3 ] ; then fi fi -echo that # set kernel version(s) to store their .config if [ -d /usr/src/linux ] ; then kernel_num=`ls /usr/src/ | grep 'linux-' | awk -F- '{ print $2 }'`