Update
This commit is contained in:
		
							parent
							
								
									76cb08b13d
								
							
						
					
					
						commit
						55f4b56b41
					
				|  | @ -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 |  | ||||||
|  | @ -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 |  | ||||||
|  | @ -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 |  | ||||||
|  | @ -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 |  | ||||||
|  | @ -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 |  | ||||||
|  | @ -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 |  | ||||||
		Loading…
	
		Reference in New Issue