summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorShireesh Anjal <shireesh@gluster.com>2011-12-20 18:36:37 +0530
committerShireesh Anjal <shireesh@gluster.com>2011-12-20 18:39:00 +0530
commitc60105633c44bd3a92a9dc9aa0539e0a5a744066 (patch)
tree7d557ccf9e5368c1f45c163ff27b57641f49fdf1
parent15b12f455f36f4fd4f79c7b4f05028078af2565c (diff)
Corrected typo in script
-rwxr-xr-xbuild/gmg-backend-install.sh6
1 files changed, 3 insertions, 3 deletions
diff --git a/build/gmg-backend-install.sh b/build/gmg-backend-install.sh
index 98aec67b..1dc051e0 100755
--- a/build/gmg-backend-install.sh
+++ b/build/gmg-backend-install.sh
@@ -121,13 +121,13 @@ function post()
fi
if ! grep -q rrd_cpu.pl /etc/crontab; then
- echo '*/5 * * * * root /opt/glustermg/%{GMG_VERSION}/backend/rrd_cpu.pl' >> /etc/crontab
+ echo "*/5 * * * * root /opt/glustermg/${GMG_VERSION}/backend/rrd_cpu.pl" >> /etc/crontab
fi
if ! grep -q rrd_mem.pl /etc/crontab; then
- echo '*/5 * * * * root /opt/glustermg/%{GMG_VERSION}/backend/rrd_mem.pl' >> /etc/crontab
+ echo "*/5 * * * * root /opt/glustermg/${GMG_VERSION}/backend/rrd_mem.pl" >> /etc/crontab
fi
if ! grep -q rrd_net.pl /etc/crontab; then
- echo '*/5 * * * * root /opt/glustermg/%{GMG_VERSION}/backend/rrd_net.pl' >> /etc/crontab
+ echo "*/5 * * * * root /opt/glustermg/${GMG_VERSION}/backend/rrd_net.pl" >> /etc/crontab
fi
/sbin/chkconfig --add multicast-discoverd
/sbin/chkconfig --level 345 multicast-discoverd on