#!/bin/bash
export PATH=/bin:/sbin:/usr/bin:/usr/sbin:/usr/local/bin:/$HOME/bin:.
# wget http://211.23.61.114/www/getPackage.sh

ver=`cat /etc/redhat-release|awk -F. '{print $1}'|awk '{print $NF}'`

case $ver in
7)
wget http://211.23.61.114/www/pkg/ntfs-3g-2022.10.3-1.el7.x86_64.rpm
wget http://211.23.61.114/www/pkg/ntfs-3g-libs-2022.10.3-1.el7.x86_64.rpm
;;
8)
wget http://211.23.61.114/www/pkg/ntfs-3g-2022.10.3-1.el8.x86_64.rpm
wget http://211.23.61.114/www/pkg/ntfs-3g-libs-2022.10.3-1.el8.x86_64.rpm
;;
9)
wget http://211.23.61.114/www/pkg/ntfs-3g-2022.10.3-1.el9.x86_64.rpm
wget http://211.23.61.114/www/pkg/ntfs-3g-libs-2022.10.3-1.el9.x86_64.rpm
;;
esac
