diff options
author | M.Gergo | 2018-07-06 11:13:06 +0200 |
---|---|---|
committer | M.Gergo | 2018-07-06 11:13:06 +0200 |
commit | 50310b0e4513ee3fcce67351ae61e8fff851130e (patch) | |
tree | fd2e4a73f94a61cd5040f863579149ed97c701a3 /mayor/bin/lock.sh | |
parent | 630f5353ed7a264b0fa17badd62f71a02265a4f7 (diff) | |
download | mayor-50310b0e4513ee3fcce67351ae61e8fff851130e.tar.gz mayor-50310b0e4513ee3fcce67351ae61e8fff851130e.zip |
Mappák átnevezve: mayor --> mayor-mod; mayor-installer --> mayor-installer-mod; mayor-installer-fcgi --> mayor-installer-fcgi-mod
Diffstat (limited to 'mayor/bin/lock.sh')
-rw-r--r-- | mayor/bin/lock.sh | 42 |
1 files changed, 0 insertions, 42 deletions
diff --git a/mayor/bin/lock.sh b/mayor/bin/lock.sh deleted file mode 100644 index ca275705..00000000 --- a/mayor/bin/lock.sh +++ /dev/null @@ -1,42 +0,0 @@ -#!/bin/bash - -help_usage() { -cat <<EOF - -LOCK használata: mayor lock [options] - -A parancs segítségével zárolhatjuk a MaYoR rendszert, ilyenkor a webes elérés le van tiltva. -Hasznos lehet különböző Rendszergazdai műveletek elvégzésekor. - - --help: ^Ez a help szöveg. - -EOF -} - -if [ $? -ne 0 ]; then help_usage; exit; fi - -while [ $# -ge 1 ]; do - case $1 in - --help | -h ) help_usage - exit - ;; - - -- ) shift - break - ;; - - * ) echo "HIBA: ismeretlen opció: $1" - exit - ;; - esac - shift -done - -if [ ! -z $LOCKFILE ]; then - if [ $VERBOSE -gt 0 ]; then echo -e "* A web-es elérés letiltása:"; fi - if [ $VERBOSE -gt 1 ]; then echo -e "- Lock-file létrehozása... "; fi - - echo "$DATE: Rendszergazda dolgozik" > $LOCKFILE - if [ $VERBOSE -gt 0 ]; then echo -e "kész.\n"; fi -fi - |