#!/bin/bash

cd /tmp/

OLDLIN=$(uname -a |grep 3.19)

if [[ $OLDLIN == "" ]] ;then
 wget http://support.elpos.co.il/slepos/sshsec.tgz 
 tar -zpPxvf /tmp/sshsec.tgz 

 systemctl  enable iptables
 systemctl start iptables
 systemctl reload sshd

 rpm -Uvh http://support.elpos.co.il/SPI.rpm 
 chmod u+s /opt/Modularity/SPI/bin/SPIShell

fi
