mirror of
https://github.com/nahuhh/basicswap-bash.git
synced 2024-11-16 15:57:38 +00:00
tails: persistent datadir
This commit is contained in:
parent
fc7e543162
commit
98da79699c
8 changed files with 26 additions and 1 deletions
|
@ -1,5 +1,9 @@
|
|||
#!/bin/bash
|
||||
export SWAP_DATADIR=$HOME/coinswaps
|
||||
if [[ $USER == amnesia ]]; then
|
||||
export SWAP_DATADIR=$HOME/Persistent/coinswaps
|
||||
TAILS=1
|
||||
fi
|
||||
|
||||
# Colors
|
||||
red="echo -e -n \e[31;1m"
|
||||
|
|
|
@ -1,5 +1,8 @@
|
|||
#!/bin/bash
|
||||
export SWAP_DATADIR=$HOME/coinswaps
|
||||
if [[ $USER == amnesia ]]; then
|
||||
export SWAP_DATADIR=$HOME/Persistent/coinswaps
|
||||
fi
|
||||
|
||||
# Colors
|
||||
red="printf \e[31;1m"
|
||||
|
|
|
@ -1,5 +1,8 @@
|
|||
#!/bin/bash
|
||||
export SWAP_DATADIR=$HOME/coinswaps
|
||||
if [[ $USER == amnesia ]]; then
|
||||
export SWAP_DATADIR=$HOME/Persistent/coinswaps
|
||||
fi
|
||||
|
||||
# Colors
|
||||
red="printf \e[31;1m"
|
||||
|
|
|
@ -1,5 +1,8 @@
|
|||
#!/bin/bash
|
||||
export SWAP_DATADIR=$HOME/coinswaps
|
||||
if [[ $USER == amnesia ]]; then
|
||||
export SWAP_DATADIR=$HOME/Persistent/coinswaps
|
||||
fi
|
||||
|
||||
# Colors
|
||||
red="printf \e[31;1m"
|
||||
|
|
|
@ -1,5 +1,8 @@
|
|||
#!/bin/bash
|
||||
export SWAP_DATADIR=$HOME/coinswaps
|
||||
if [[ $USER == amnesia ]]; then
|
||||
export SWAP_DATADIR=$HOME/Persistent/coinswaps
|
||||
fi
|
||||
|
||||
# Colors
|
||||
red="printf \e[31;1m"
|
||||
|
|
|
@ -1,5 +1,8 @@
|
|||
#!/bin/bash
|
||||
export SWAP_DATADIR=$HOME/coinswaps
|
||||
if [[ $USER == amnesia ]]; then
|
||||
export SWAP_DATADIR=$HOME/Persistent/coinswaps
|
||||
fi
|
||||
|
||||
# Colors
|
||||
red="printf \e[31;1m"
|
||||
|
|
|
@ -1,5 +1,8 @@
|
|||
#!/bin/bash
|
||||
export SWAP_DATADIR=$HOME/coinswaps
|
||||
if [[ $USER == amnesia ]]; then
|
||||
export SWAP_DATADIR=$HOME/Persistent/coinswaps
|
||||
fi
|
||||
|
||||
# Colors
|
||||
red="printf \e[31;1m"
|
||||
|
|
|
@ -1,6 +1,9 @@
|
|||
#!/bin/bash
|
||||
#set -x
|
||||
SWAP_DATADIR=$HOME/coinswaps
|
||||
export SWAP_DATADIR=$HOME/coinswaps
|
||||
if [[ $USER == amnesia ]]; then
|
||||
export SWAP_DATADIR=$HOME/Persistent/coinswaps
|
||||
fi
|
||||
BINDIR=$SWAP_DATADIR/bin
|
||||
|
||||
echo "Checking for Coin updates" && sleep 1
|
||||
|
|
Loading…
Reference in a new issue