X-Git-Url: https://feistymeow.org/gitweb/?a=blobdiff_plain;f=examples%2Fbashisms%2Fbashrc_with_localtmp_code.sh;fp=examples%2Fbashisms%2Fbashrc_with_localtmp_code.sh;h=0000000000000000000000000000000000000000;hb=5af202498131eb5eed099b84187e59889303faa8;hp=0df81b5e8510a54b366950f52d20eacf0bea5c2c;hpb=a4d12589f1cd01826814842cde0b3eac95890bc9;p=feisty_meow.git diff --git a/examples/bashisms/bashrc_with_localtmp_code.sh b/examples/bashisms/bashrc_with_localtmp_code.sh deleted file mode 100644 index 0df81b5e..00000000 --- a/examples/bashisms/bashrc_with_localtmp_code.sh +++ /dev/null @@ -1,19 +0,0 @@ - -# snippet of code to set all the temp folders and genesis2 state dir on a stable local -# temporary directory. do not use /localtmp if it will be deleted! this stuff is -# expected to persist until the user decides to clean things up. - -# use a local temporary directory if possible. -if [ -d /localtmp ]; then - export FAST_LOCAL_STORAGE=/localtmp/$USER - export TMP=$FAST_LOCAL_STORAGE/tempo - mkdir -p $TMP &>/dev/null - chmod -R 700 $FAST_LOCAL_STORAGE - - # plan on putting the state directory onto there. - export GENII_USER_DIR=$FAST_LOCAL_STORAGE/state-dir -fi - -# after the above, load feisty meow scripts and they will take advantage of the -# TMP folder we set above. -