try to match with || again

Signed-off-by: Nico Schottelius <nico@ikn.schottelius.org>
This commit is contained in:
Nico Schottelius 2010-04-15 12:21:43 +02:00
commit 2f96602bed
8 changed files with 27 additions and 20 deletions

View file

@ -1,19 +1,20 @@
#!/bin/sh -e
if [ -z "$USBHD" -o $# -ne 1 ]; then
echo USBHD + interval
exit 1
fi
#if [ -z "$USBHD" -o $# -ne 1 ]; then
# echo USBHD + interval
# exit 1
#fi
ccollect=/home/users/nico/lp/ccollect/ccollect/ccollect.sh
ccollect=/home/users/nico/oeffentlich/rechner/projekte/ccollect/ccollect/ccollect.sh
# in pre_exec
#cryptsetup luksOpen /dev/sdc usbhd
#mount /home/services/usbhd
#cd /home/user/nico/p/ccollect/ccollect
CCOLLECT_CONF=/home/users/nico/ethz/ccollect $ccollect "$1" ikn
export CCOLLECT_CONF=/home/users/nico/ethz/ccollect
$ccollect $1 ikn$2
# in post_exec
#umount /home/services/usbhd