From f663073190742dbe061505ebfbd334808903962e Mon Sep 17 00:00:00 2001 From: vimacs Date: Wed, 10 Mar 2010 21:16:26 +0100 Subject: [PATCH] restructured script a bit, fixed ordering a bit, umounting should be slightly faster also see last commit modified: testdata/scripts/pnd_run.sh --- testdata/scripts/pnd_run.sh | 1 + 1 file changed, 1 insertion(+) 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]" -- 2.39.5