+++ /dev/null
-#
-# 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
-
+++ /dev/null
-#!/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
+++ /dev/null
-#!/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