frickkkk
This commit is contained in:
@@ -7,7 +7,7 @@ shut down and lock (or destory) your box if cops are detected nearby!
|
|||||||
- Tazers
|
- Tazers
|
||||||
- Axon bodycamera
|
- Axon bodycamera
|
||||||
## Install
|
## Install
|
||||||
**Requires cryptsetup and bluetoothctl**
|
**Requires a linux box with os drive encryption using cryptsetup/luks and alsop bluetoothctl**
|
||||||
|
|
||||||
then instasll
|
then instasll
|
||||||
```bash
|
```bash
|
||||||
|
|||||||
+12
-8
@@ -13,41 +13,45 @@ sudo systemctl stop DREAMMAKER.service 2>/dev/null
|
|||||||
echo "cleaning up"
|
echo "cleaning up"
|
||||||
# see if wer need top nuke old filews
|
# see if wer need top nuke old filews
|
||||||
if [ -f "$script_file" ]; then
|
if [ -f "$script_file" ]; then
|
||||||
sudo rm $script_file 2>/dev/null
|
echo "Deleting existing $script_file"
|
||||||
|
sudo rm -f "$script_file" 2>/dev/null
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if [ -f "$service_file" ]; then
|
if [ -f "$service_file" ]; then
|
||||||
sudo rm $service_file 2>/dev/null
|
echo "Deleting existing $service_file"
|
||||||
|
sudo rm -f "$service_file" 2>/dev/null
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if [ ! -d "$store_path" ]; then
|
if [ ! -d "$store_path" ]; then
|
||||||
echo "Creating $store_path"
|
echo "Creating $store_path"
|
||||||
sudo mkdir -p $store_path
|
sudo mkdir -p "$store_path"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if [ ! -f "$discord_file" ]; then
|
if [ ! -f "$discord_file" ]; then
|
||||||
echo -e "Enter Discord Webhook URL\n\tRight click on server->server settings->integrations"
|
echo -e "Enter Discord Webhook URL\n\tRight click on server->server settings->integrations"
|
||||||
read discord_webhook
|
read discord_webhook
|
||||||
sudo bash -c "echo \"$discord_webhook\" > $webhook_file"
|
sudo bash -c "echo \"$discord_webhook\" > \"$webhook_file\""
|
||||||
echo
|
echo
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if [ ! -f "$discord_tag" ]; then
|
if [ ! -f "$discord_tag" ]; then
|
||||||
echo -e "Enter Discord Member group to tag\n\tuse a backslash when tagging the roll like \\@notifications"
|
echo -e "Enter Discord Member group to tag\n\tuse a backslash when tagging the roll like \\@notifications"
|
||||||
read discord_tag_file
|
read discord_tag_file
|
||||||
sudo bash -c "echo \"$discord_tag_file\" > $tag_file"
|
sudo bash -c "echo \"$discord_tag_file\" > \"$tag_file\""
|
||||||
echo
|
echo
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# install itt
|
# install itt
|
||||||
echo "installing service"
|
echo "installing service"
|
||||||
sudo cp DREAMMAKER.sh $script_file
|
sudo cp DREAMMAKER.sh "$script_file"
|
||||||
sudo chmod +x $script_file
|
sudo chmod +x "$script_file"
|
||||||
sudo cp DREAMMAKER.service $service_file
|
sudo cp DREAMMAKER.service "$service_file"
|
||||||
|
echo
|
||||||
|
|
||||||
# enable it at boot and run
|
# enable it at boot and run
|
||||||
echo "enabling [DЯΣΛMMΛKΣЯ] at boot and starting the service"
|
echo "enabling [DЯΣΛMMΛKΣЯ] at boot and starting the service"
|
||||||
sudo systemctl enable DREAMMAKER.service
|
sudo systemctl enable DREAMMAKER.service
|
||||||
sudo systemctl start DREAMMAKER.service
|
sudo systemctl start DREAMMAKER.service
|
||||||
|
sudo systemctl status DREAMMAKER.service
|
||||||
|
|
||||||
echo -e "\nall donesies :3 nytaa~\n"
|
echo -e "\nall donesies :3 nytaa~\n"
|
||||||
|
|||||||
Reference in New Issue
Block a user