repo.or.cz
/
check_mk.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Cleanup config.nodes_of
[check_mk.git]
/
checkman
/
.f12
blob
1fc49b9b5e3529be22e9f939335abded1b3f429a
1
#!/bin/bash
2
set -e
3
4
SITE
=
${SITE:-$(cat ../.site 2>/dev/null || true)}
5
SITE
=
${SITE:-$(omd sites --bare | head -n 1)}
6
ROOT
=/
omd
/
sites
/
$SITE
7
8
sudo rsync
-var --delete
.
/
$ROOT
/
shar
e
/
check_mk
/
checkman
/
9
sudo
rm
-f
$ROOT
/
shar
e
/
check_mk
/
checkman
/
.f12