1 SITE=${SITE:-$(omd sites --bare | head -n 1)}
2 echo "Installing to site \"$SITE\"..."
3 sudo install -m 755 diskspace /omd/sites/$SITE/bin
4 for F in ../*/skel/share/diskspace/*; do
5 sudo cp $F /omd/sites/$SITE/share/diskspace
8 sudo cp skel/etc/cron.d/* /omd/sites/$SITE/etc/cron.d
9 sudo omd restart $SITE crontab