summaryrefslogtreecommitdiffstats
path: root/helper_scrips/probe.sh
diff options
context:
space:
mode:
authorRaghavendra Bhat <raghavendrabhat@gluster.com>2011-12-22 12:06:45 +0530
committerRaghavendra Bhat <raghavendrabhat@gluster.com>2011-12-22 12:06:45 +0530
commitf9d7be7082ea972dac7912eff6ca8ff4000cd24a (patch)
treef6f976ab475bb22af568187eec0801dbf715ffee /helper_scrips/probe.sh
parent020c2d441e83e616010b921bd266086ed387afa7 (diff)
helper_scripts: changes in probe script abd detach script is added
Some minor changes in the probe script (change in the function names) and detach script is added to detach the peers in the cluster. Signed-off-by: Raghavendra Bhat <raghavendrabhat@gluster.com>
Diffstat (limited to 'helper_scrips/probe.sh')
-rwxr-xr-xhelper_scrips/probe.sh8
1 files changed, 3 insertions, 5 deletions
diff --git a/helper_scrips/probe.sh b/helper_scrips/probe.sh
index b804c7f..f6fc217 100755
--- a/helper_scrips/probe.sh
+++ b/helper_scrips/probe.sh
@@ -5,7 +5,7 @@ function _init ()
set -u;
}
-function clean_logs ()
+function peer_probe ()
{
local remote_server=;
@@ -20,7 +20,7 @@ function clean_logs ()
for i in $(cat /root/servers)
do
- clean_logs $i;
+ peer_probe $i;
done
}
@@ -33,11 +33,9 @@ function main ()
exit 1
fi
- clean_logs;
+ peer_probe;
return 0;
}
_init && main "$@"
-
-