source: branches/2.2.2/tools/ftp-env

Last change on this file was 874, checked in by bruno, 13 years ago

Centralize the delivery machine detection
Announce of mp3

  • Property svn:executable set to *
File size: 341 bytes
Line 
1#!/bin/bash
2#
3# Environmeent for ftp
4#
5# $Id$
6#
7
8# BerliOS FTP/SSH setup
9/sbin/ifconfig | egrep -q '10\.3' 2>&1 > /dev/null
10if [ $? = 0 ]; then
11    export DESTMACH=mondo.hpintelco.org
12else
13    export DESTMACH=www.mondorescue.org
14fi
15
16export ACCOUNT=bruno@$DESTMACH
17export DSTDIR=/mondo/ftp
18export FTPSERV="ftp.berlios.de"
19export FTPDIR="/incoming"
Note: See TracBrowser for help on using the repository browser.