Refactoring: Changed all check parameters starting with an 'o' to the new rulespec...
[check_mk.git] / notifications / .f12
blobf67d9b1943edb36c65df3a31486d2333edac47da
1 #!/bin/bash
2 set -e
4 SITE=${SITE:-$(cat ../.site 2>/dev/null || true)}
5 SITE=${SITE:-$(omd sites --bare | head -n 1)}
6 ROOT=/omd/sites/$SITE
8 sudo mkdir -p $ROOT/share/check_mk/notifications
9 sudo cp -vp * $ROOT/share/check_mk/notifications