[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Script Problem
[Thread Prev] | [Thread Next]
- Subject: Re: Script Problem
- From: Moritz Augsburger <uugrn@xxxxxxxxxxxxxxxxxxxxxx>
- Date: Fri, 7 Mar 2008 21:30:04 +0100
- To: uugrn@xxxxxxxxxxxxxxx
Hoi, On Fri, Mar 07, 2008 at 09:19:36PM +0100, Mike Lederer wrote: > Wie kann ich es anstellen das das Script nur ausgefuehrt wird wenn die HDD > eingehaengt ist? > > Inhalt des Scriptes:------------------------------------------------- > #!/bin/sh # check for mount grep /media/extern /etc/mtab > /dev/null || exit 1 > # directory to backup > BDIR=/home/ledererm/ > [...] Gruss Moritz -- http://mailman.uugrn.org/mailman/listinfo/uugrn Wiki: http://wiki.uugrn.org/wiki/UUGRN:Mailingliste Archiv: http://lists.uugrn.org/