sending
parent
8e9201d592
commit
66d2437e99
|
@ -5,6 +5,13 @@
|
|||
# righttoprivacy[at]tutanota.com
|
||||
#
|
||||
|
||||
# COLORS
|
||||
export BLUE='\033[1;94m'
|
||||
export GREEN='\033[1;92m'
|
||||
export RED='\033[1;91m'
|
||||
export WHITE='\033[0;37m'
|
||||
export ENDCOLOR='\033[1;00m'
|
||||
|
||||
# VARIABLES
|
||||
wpcmd='wipri -d wlan0 -p' # Default wipri command - wipri-list commands work too!
|
||||
# if you use wipri-list be sure to create mac's for your list w/ -a flag$
|
||||
|
@ -20,19 +27,27 @@ function dlwipri() {
|
|||
cd WiPri
|
||||
echo -e "You will be asked which command you wish to use" && sleep .5
|
||||
echo -e "wipri or wipri-list commands apply" && sleep .5
|
||||
echo -e "If you choose wipri-list be aware -a flag must be run to create mac list\n" && sleep .5
|
||||
echo -e "* ${RED}If you choose a wipri-list cmd, -a flag must be run to begin creating list *${ENDCOLOR}\n" && sleep .5
|
||||
read -p "What wipri or wipri-list command would you like to start at boot? " wpcmd
|
||||
chmod +x install.sh
|
||||
sudo ./install.sh -c "$wpcmd"
|
||||
echo "This is command chosen for Persistence: \"$wpcmd\""
|
||||
cp readd.sh /home/amnesia/Persistent/scriptz/WiPri
|
||||
chmod +x /home/amnesia/Persistent/scriptz/WiPri/readd.sh
|
||||
echo "Command You Chose For Persistence: ${RED}\"$wpcmd\"${ENDCOLOR}"
|
||||
}
|
||||
|
||||
function persist() {
|
||||
chmod +x $scriptsdir/WiPri/readd.sh
|
||||
mkdir -p /live/persistence/TailsData_unlocked/dotfiles/.config
|
||||
mkdir -p /live/persistence/TailsData_unlocked/dotfiles/.config/autostart
|
||||
cp $scriptsdir/WiPri/wipri-setup.desktop /live/persistence/TailsData_unlocked/dotfiles/.config/autostart
|
||||
chmod +x /live/persistence/TailsData_unlocked/dotfiles/.config/autostart/wipri-setup.desktop
|
||||
|
||||
}
|
||||
|
||||
# MAIN FUNCTION
|
||||
function main() {
|
||||
echo "Now testing download wipri..." && sleep 1
|
||||
dlwipri
|
||||
persist
|
||||
}
|
||||
|
||||
# THIS SET OF SCRIPTS IS UNDER CONSTRUCTION BUT UPLOADED - WAIT FOR COMMENT REMOVAL.
|
||||
|
|
Loading…
Reference in New Issue