elif [ "$host" = "hdw" ] ; then
mount -tnfs hackstation:/mnt/lfs/backup /mnt/nfs
backup_dir="/mnt/nfs"
-elif [ "$host" = "left-hand" ] ; then
+elif [ "$host" = "compaq" ] ; then
mount -tnfs hackstation:/mnt/lfs/backup /mnt/nfs
backup_dir="/mnt/nfs"
else
mkdir ./${host}-conf && cd ./${host}-conf
for i in $kernel_num; do
- if [ -f /usr/src/linux-${i}*/.config ] ; then
+ if [ -f /usr/src/linux-${i}/.config ] ; then
echo "copying /usr/src/linux/.config"
- cp /usr/src/linux-${i}*/.config ./$host-kernel-${i}-config
+ cp /usr/src/linux-${i}/.config ./$host-kernel-${i}-config
fi
done
for i in www cvs hdw; do
if [ -d /chroot/$i ] ; then
echo "copying /chroot/$i"
- tar .cf ./chroot/$i.tar /chroot/$i
+ tar -cf ./chroot/$i.tar /chroot/$i
fi
done
fi