From 548955d6524b6fb3b7c47dace2fdaa2b90e4d850 Mon Sep 17 00:00:00 2001 From: Tobias Ulmer Date: Wed, 1 Aug 2012 12:17:57 +0200 Subject: [PATCH] Remove server-tools, unused Signed-off-by: Tobias Ulmer --- server-tools/Makefile | 38 -------------------------------------- server-tools/e2data_backup | 2 -- server-tools/e2nightly | 3 --- server-tools/results | 15 --------------- server-tools/upstream | 15 --------------- 5 files changed, 73 deletions(-) delete mode 100644 server-tools/Makefile delete mode 100755 server-tools/e2data_backup delete mode 100644 server-tools/e2nightly delete mode 100644 server-tools/results delete mode 100644 server-tools/upstream diff --git a/server-tools/Makefile b/server-tools/Makefile deleted file mode 100644 index cba4a72..0000000 --- a/server-tools/Makefile +++ /dev/null @@ -1,38 +0,0 @@ -# -# e2factory, the emlix embedded build system -# -# Copyright (C) 2007-2009 Gordon Hecker , emlix GmbH -# Copyright (C) 2007-2009 Oskar Schirmer , 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 . -# - -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 index c167828..0000000 --- a/server-tools/e2data_backup +++ /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 index 0c065a6..0000000 --- a/server-tools/e2nightly +++ /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 index f0311c0..0000000 --- a/server-tools/results +++ /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 index 7f78961..0000000 --- a/server-tools/upstream +++ /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 -- 2.39.5