correct condition -- should check on remote side
This commit is contained in:
parent
f35a1b9cdf
commit
48ed7f1754
1 changed files with 6 additions and 5 deletions
|
@ -18,8 +18,9 @@
|
||||||
# along with cdist. If not, see <http://www.gnu.org/licenses/>.
|
# along with cdist. If not, see <http://www.gnu.org/licenses/>.
|
||||||
|
|
||||||
## "move" user-modified dirs to /etc/xymon to be managed by __xymon_config:
|
## "move" user-modified dirs to /etc/xymon to be managed by __xymon_config:
|
||||||
if [ ! -L /usr/lib/xymon/server/ext ]; then
|
cat <<-EOT
|
||||||
echo "mv /usr/lib/xymon/server/ext /etc/xymon"
|
if [ ! -L /usr/lib/xymon/server/ext ]; then
|
||||||
echo "ln -s /etc/xymon/ext /usr/lib/xymon/server/"
|
mv /usr/lib/xymon/server/ext /etc/xymon
|
||||||
echo "ext-dir moved and symlinked" >> "$__messages_out"
|
ln -s /etc/xymon/ext /usr/lib/xymon/server/
|
||||||
fi
|
fi
|
||||||
|
EOT
|
||||||
|
|
Loading…
Reference in a new issue