From 55f4b56b41488d301807475521b707a4714bd017 Mon Sep 17 00:00:00 2001 From: Valeria Fadeeva Date: Sun, 2 Feb 2025 20:03:12 +0500 Subject: [PATCH] Update --- skel/.config/autostart/dnscrypt.sh.desktop | 8 -------- skel/.config/autostart/tor.sh.desktop | 8 -------- skel/.config/autostart/tuned.sh.desktop | 8 -------- skel/.local/bin/dnscrypt.sh | 15 --------------- skel/.local/bin/tor.sh | 15 --------------- skel/.local/bin/tuned.sh | 16 ---------------- 6 files changed, 70 deletions(-) delete mode 100755 skel/.config/autostart/dnscrypt.sh.desktop delete mode 100755 skel/.config/autostart/tor.sh.desktop delete mode 100755 skel/.config/autostart/tuned.sh.desktop delete mode 100755 skel/.local/bin/dnscrypt.sh delete mode 100755 skel/.local/bin/tor.sh delete mode 100755 skel/.local/bin/tuned.sh diff --git a/skel/.config/autostart/dnscrypt.sh.desktop b/skel/.config/autostart/dnscrypt.sh.desktop deleted file mode 100755 index d4d958b..0000000 --- a/skel/.config/autostart/dnscrypt.sh.desktop +++ /dev/null @@ -1,8 +0,0 @@ -#!/usr/bin/env xdg-open -[Desktop Entry] -Exec=/bin/sh -c '~/.local/bin/dnscrypt.sh' -Icon= -Name=dnscrypt.sh -Path= -Terminal=false -Type=Application diff --git a/skel/.config/autostart/tor.sh.desktop b/skel/.config/autostart/tor.sh.desktop deleted file mode 100755 index 8839050..0000000 --- a/skel/.config/autostart/tor.sh.desktop +++ /dev/null @@ -1,8 +0,0 @@ -#!/usr/bin/env xdg-open -[Desktop Entry] -Exec=/bin/sh -c '~/.local/bin/tor.sh' -Icon= -Name=tor.sh -Path= -Terminal=false -Type=Application diff --git a/skel/.config/autostart/tuned.sh.desktop b/skel/.config/autostart/tuned.sh.desktop deleted file mode 100755 index 7e32e96..0000000 --- a/skel/.config/autostart/tuned.sh.desktop +++ /dev/null @@ -1,8 +0,0 @@ -#!/usr/bin/env xdg-open -[Desktop Entry] -Exec=/bin/sh -c '~/.local/bin/tuned.sh' -Icon= -Name=tuned.sh -Path= -Terminal=false -Type=Application diff --git a/skel/.local/bin/dnscrypt.sh b/skel/.local/bin/dnscrypt.sh deleted file mode 100755 index 9d84a33..0000000 --- a/skel/.local/bin/dnscrypt.sh +++ /dev/null @@ -1,15 +0,0 @@ -#!/bin/bash - -if [[ "$UID" != 0 ]]; then - echo "USER NOT ROOT" - sudo "$0" - exit -else - echo "USER IS ROOT" -fi - -$status=$(systemctl status dnscrypt-proxy.service) - -if [[ "$status" != 0 ]]; then - systemctl restart dnscrypt-proxy.service -fi diff --git a/skel/.local/bin/tor.sh b/skel/.local/bin/tor.sh deleted file mode 100755 index f35e566..0000000 --- a/skel/.local/bin/tor.sh +++ /dev/null @@ -1,15 +0,0 @@ -#!/bin/bash - -if [[ "$UID" != 0 ]]; then - echo "USER NOT ROOT" - sudo "$0" - exit -else - echo "USER IS ROOT" -fi - -$status=$(systemctl status tor) - -if [[ "$status" != 0 ]]; then - systemctl restart tor -fi diff --git a/skel/.local/bin/tuned.sh b/skel/.local/bin/tuned.sh deleted file mode 100755 index b7db89c..0000000 --- a/skel/.local/bin/tuned.sh +++ /dev/null @@ -1,16 +0,0 @@ -#!/bin/bash - -if [[ "$UID" != 0 ]]; then - echo "USER NOT ROOT" - sudo "$0" - exit -else - echo "USER IS ROOT" -fi - -$status=$(systemctl status tuned tuned-ppd) - -if [[ "$status" != 0 ]]; then - systemctl restart tuned tuned-ppd -# systemctl --user restart plasma-plasmashell -fi