From 312803968a60665dc768031f1d44a780bb9f8c40 Mon Sep 17 00:00:00 2001 From: mxmehl Date: Tue, 7 Jul 2015 15:27:08 +0300 Subject: [PATCH] update license info and description --- monitor.sh | 12 +++++++++--- update-index-ssh-link.sh | 11 ++++++++--- update-index.sh | 12 +++++++++--- 3 files changed, 26 insertions(+), 9 deletions(-) diff --git a/monitor.sh b/monitor.sh index abe4456..615f0d3 100755 --- a/monitor.sh +++ b/monitor.sh @@ -1,6 +1,7 @@ -# monitor.sh -# +#!/bin/bash +######################################################################## # Copyright (C) 2015 Max Mehl +######################################################################## # # This program is free software: you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by @@ -15,7 +16,12 @@ # You should have received a copy of the GNU General Public License # along with this program. If not, see . # -#!/bin/bash +######################################################################## +# +# A bash application to monitor websites via ping and index comparison +# In case of error it can send email notifications. See config.cfg.sample +# +####################################################################### cd "$(dirname "$(readlink -f "$0")")" # Test if config.cfg exists and set needed variables diff --git a/update-index-ssh-link.sh b/update-index-ssh-link.sh index 1ed7a5b..1640486 100755 --- a/update-index-ssh-link.sh +++ b/update-index-ssh-link.sh @@ -1,6 +1,7 @@ -# update-index-ssh-link.sh -# +#!/bin/sh +######################################################################## # Copyright (C) 2015 Max Mehl +######################################################################## # # This program is free software: you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by @@ -15,7 +16,11 @@ # You should have received a copy of the GNU General Public License # along with this program. If not, see . # -#!/bin/sh +######################################################################## +# +# This script can be used to as direct link to update the index +# +######################################################################## HOST=$(basename $1) diff --git a/update-index.sh b/update-index.sh index 99ca87d..f306eaa 100755 --- a/update-index.sh +++ b/update-index.sh @@ -1,6 +1,7 @@ -# update-index.sh -# +#!/bin/bash +######################################################################## # Copyright (C) 2015 Max Mehl +######################################################################## # # This program is free software: you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by @@ -15,7 +16,12 @@ # You should have received a copy of the GNU General Public License # along with this program. If not, see . # -#!/bin/bash +######################################################################## +# +# With this script you can update a index page, e.g. after an update +# +######################################################################## + cd "$(dirname "$(readlink -f "$0")")" # Test if config.cfg exists and set needed variables