From: vimacs Date: Wed, 10 Mar 2010 20:16:26 +0000 (+0100) Subject: restructured script a bit, fixed ordering a bit, umounting should be slightly faster X-Git-Tag: Release-2010-05/1~63^2~1 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f663073190742dbe061505ebfbd334808903962e;p=pandora-libraries.git restructured script a bit, fixed ordering a bit, umounting should be slightly faster also see last commit modified: testdata/scripts/pnd_run.sh --- diff --git a/testdata/scripts/pnd_run.sh b/testdata/scripts/pnd_run.sh index bd29c05..0c4cb18 100755 --- a/testdata/scripts/pnd_run.sh +++ b/testdata/scripts/pnd_run.sh @@ -51,6 +51,7 @@ if [ ! $PND ]; then #check if theres a pnd suplied, need to clean that up a bit echo "Usage: pnd_run.sh -p your.pnd -e executeable [-a \"(arguments)\"] [ -s \"cd to folder inside pnd\"] [-b UID (name of mountpoint/pandora/appdata)] [-x close x before launching(script needs to be started with nohup for this to work]" exit 1 fi + if [ ! $EXENAME ]; then if [ ! $mount ] && [ ! $umount ]; then echo "Usage: pnd_run.sh -p your.pnd -e executeable [-a \"(arguments)\"] [ -s \"cd to folder inside pnd\"] [-b UID (name of mountpoint/pandora/appdata)] [-x close x before launching(script needs to be started with nohup for this to work]"