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:36:37 +0530
commit577bf78b4fc5587ad0ce2d0ad1e469ce4a88c4b3 (patch)
tree4903e71aaac8cc6d99ebfcc5e9520cd56d173355
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 98aec67..2efe441 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