Create sngrep.sh

This commit is contained in:
FusionPBX 2017-04-03 19:20:26 -06:00 committed by GitHub
parent aae94bf317
commit 4a7e3f5d72
1 changed files with 11 additions and 0 deletions

View File

@ -0,0 +1,11 @@
#!/bin/sh
#move to script directory so all relative paths work
cd "$(dirname "$0")"
IRONTEC="[irontec]
name=Irontec RPMs repository
baseurl=http://packages.irontec.com/centos/$releasever/$basearch/"
echo "${IRONTEC}" > /etc/yum.repos.d/irontec.repo
rpm --import http://packages.irontec.com/public.key
yum -y install sngrep