restructured script a bit, fixed ordering a bit, umounting should be slightly faster
authorvimacs <vimacs@pndtest>
Wed, 10 Mar 2010 20:16:26 +0000 (21:16 +0100)
committervimacs <vimacs@pndtest>
Wed, 10 Mar 2010 20:16:26 +0000 (21:16 +0100)
also see last commit
modified:   testdata/scripts/pnd_run.sh

testdata/scripts/pnd_run.sh

index bd29c05..0c4cb18 100755 (executable)
@@ -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]"