Skip to content
GitLab
Explore
Projects
Groups
Snippets
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Dr. Frank Lee
Xymon Cli Utils
Commits
52b5482d
Commit
52b5482d
authored
4 years ago
by
Dr. Frank Lee
Browse files
Options
Download
Email Patches
Plain Diff
bb-fix should do the same as bb-do
parent
165b5a56
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
bb-fix
+0
-14
bb-fix
with
0 additions
and
14 deletions
+0
-14
bb-fix
deleted
100755 → 0
+
0
-
14
View file @
165b5a56
#!/bin/bash
# fixes problems reported in hobbit
TEST
=
$1
COLOR
=
$2
PATTERN
=
$3
CMD
=
$4
HOSTS
=
`
tempfile
`
bb-grep
"
$TEST
"
"
$COLOR
"
"
$PATTERN
"
>
$HOSTS
# dsh doesn't seem to work. Meh
#dsh -o "-l root" -f $HOSTS "$CMD"
for
H
in
`
cat
$HOSTS
`
;
do
echo
+++ Running on
$H
ssh
-l
root
$H
"
$CMD
"
done
This diff is collapsed.
Click to expand it.
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment
Menu
Explore
Projects
Groups
Snippets