]> git.e2factory.org Git - e2factory.git/commitdiff
Remove server-tools, unused
authorTobias Ulmer <tu@emlix.com>
Wed, 1 Aug 2012 10:17:57 +0000 (12:17 +0200)
committerTobias Ulmer <tu@emlix.com>
Wed, 1 Aug 2012 10:17:57 +0000 (12:17 +0200)
Signed-off-by: Tobias Ulmer <tu@emlix.com>
server-tools/Makefile [deleted file]
server-tools/e2data_backup [deleted file]
server-tools/e2nightly [deleted file]
server-tools/results [deleted file]
server-tools/upstream [deleted file]

diff --git a/server-tools/Makefile b/server-tools/Makefile
deleted file mode 100644 (file)
index cba4a72..0000000
+++ /dev/null
@@ -1,38 +0,0 @@
-#
-#  e2factory, the emlix embedded build system
-#
-#  Copyright (C) 2007-2009 Gordon Hecker <gh@emlix.com>, emlix GmbH
-#  Copyright (C) 2007-2009 Oskar Schirmer <os@emlix.com>, emlix GmbH
-#  Copyright (C) 2007-2008 Felix Winkelmann, emlix GmbH
-#
-#  For more information have a look at http://www.e2factory.org
-#
-#  e2factory is a registered trademark by emlix GmbH.
-#
-#  This file is part of e2factory, the emlix embedded build system.
-#
-#  e2factory is free software: you can redistribute it and/or modify
-#  it under the terms of the GNU General Public License as published by
-#  the Free Software Foundation, either version 3 of the License, or
-#  (at your option) any later version.
-#
-#  This program is distributed in the hope that it will be useful,
-#  but WITHOUT ANY WARRANTY; without even the implied warranty of
-#  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
-#  GNU General Public License for more details.
-#
-#  You should have received a copy of the GNU General Public License
-#  along with this program.  If not, see <http://www.gnu.org/licenses/>.
-#
-
-BINDIR = /root/bin
-
-install:
-       @echo "Please use the 'server-install' target."
-
-server-install:
-       install -m 755 upstream       $(BINDIR)/e2fix-upstream
-       install -m 755 results        $(BINDIR)/e2fix-results
-       install -m 755 e2nightly      $(BINDIR)/e2nightly
-       install -m 755 e2data_backup  $(BINDIR)/e2data_backup
-
diff --git a/server-tools/e2data_backup b/server-tools/e2data_backup
deleted file mode 100755 (executable)
index c167828..0000000
+++ /dev/null
@@ -1,2 +0,0 @@
-#!/bin/bash
-rsync --archive --update --delete /data/e2data/ /data/tmp/e2data_backup/
diff --git a/server-tools/e2nightly b/server-tools/e2nightly
deleted file mode 100644 (file)
index 0c065a6..0000000
+++ /dev/null
@@ -1,3 +0,0 @@
-#!/bin/bash
-UPSTREAM=/data/e2data/upstream /root/bin/e2fix-upstream | bash
-RESULTS=/data/e2data/results   /root/bin/e2fix-results  | bash
diff --git a/server-tools/results b/server-tools/results
deleted file mode 100644 (file)
index f0311c0..0000000
+++ /dev/null
@@ -1,15 +0,0 @@
-#!/bin/sh
-# print a list of commands that fix permissions on the result server.
-set -e
-if [ -z "$RESULTS" ] ; then
-  RESULTS=/mnt/e2data/results
-fi
-if [ ! -f $RESULTS/.e2-results ] ; then
-  echo >&2 "Error: $RESULTS does not point to the upstream server"
-  exit 1
-fi
-find $RESULTS -type d -not -group 203  -exec echo chgrp 203 {} \;
-find $RESULTS -type d -not -perm  2775 -exec echo chmod 2775 {} \;
-find $RESULTS -type f -not -group 203  -exec echo chgrp 203 {} \;
-find $RESULTS -type f -not -perm  0664 -exec echo chmod 0664 {} \;
-exit 0
diff --git a/server-tools/upstream b/server-tools/upstream
deleted file mode 100644 (file)
index 7f78961..0000000
+++ /dev/null
@@ -1,15 +0,0 @@
-#!/bin/sh
-# print a list of commands that fix permissions on the upstream server.
-set -e
-if [ -z "$UPSTREAM" ] ; then
-  UPSTREAM=/mnt/e2data/upstream
-fi
-if [ ! -f $UPSTREAM/.e2-upstream ] ; then
-  echo >&2 "Error: $UPSTREAM does not point to the upstream server"
-  exit 1
-fi
-find $UPSTREAM -type d -not -group 203  -exec echo chgrp 203 {} \;
-find $UPSTREAM -type d -not -perm  2775 -exec echo chmod 2775 {} \;
-find $UPSTREAM -type f -not -group 203  -exec echo chgrp 203 {} \;
-find $UPSTREAM -type f -not -perm  0444 -exec echo chmod 0444 {} \;
-exit 0