X-Git-Url: https://hackdaworld.org/gitweb/?p=scripts%2Fscripts.git;a=blobdiff_plain;f=backup.sh;h=56031d6405f8320deea59b4f5b0ce0b072ca1ca5;hp=e2d401d71d2d2b56b33df76319deb0eade714423;hb=eea7b0f3e29f462575ee58c5570716a3f8ff16ac;hpb=2bca8734ea99a41ef910a1b4174607c1171ee4c2 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 }'`