Update 'update.sh'
This commit is contained in:
@@ -81,7 +81,7 @@ elif [ "${OS}" == "CentOS" ]; then
|
||||
yum autoremove -y
|
||||
|
||||
# Centos 7
|
||||
if [[] "${OS_VER}" =~ "^7.*" ]]; then
|
||||
if [[ "${OS_VER}" =~ "^7.*" ]]; then
|
||||
# install the packages
|
||||
yum install -y pbis-open sudo nano htop nload iperf iperf3 bind-utils yum-cron unzip nfs-utils git wget uptimed net-tools make
|
||||
|
||||
@@ -101,7 +101,7 @@ elif [ "${OS}" == "CentOS" ]; then
|
||||
systemctl enable uptimed
|
||||
fi
|
||||
# Centos 7
|
||||
if [[] "${OS_VER}" =~ "^8.*" ]]; then
|
||||
if [[ "${OS_VER}" =~ "^8.*" ]]; then
|
||||
# install the packages
|
||||
# libnsl is needed for pbis and needs to be installed already
|
||||
dnf install -y libnsl
|
||||
|
||||
Reference in New Issue
Block a user