opax
This commit is contained in:
parent
eb5e63365f
commit
f67c3cd3a2
19
a.py
Normal file
19
a.py
Normal file
|
@ -0,0 +1,19 @@
|
||||||
|
|
||||||
|
import os
|
||||||
|
|
||||||
|
destination_config_dir = '/usr/local/RapidBackup/config/destinations'
|
||||||
|
destinacija = "/etc/passwd /etc/passwd"
|
||||||
|
|
||||||
|
# Show file path
|
||||||
|
def delete_destination():
|
||||||
|
file_path = os.path.join(destination_config_dir, f"{destinacija}.conf")
|
||||||
|
print(file_path)
|
||||||
|
|
||||||
|
try:
|
||||||
|
with open(file_path, 'r') as file:
|
||||||
|
print(file.read())
|
||||||
|
except FileNotFoundError:
|
||||||
|
print("nema")
|
||||||
|
|
||||||
|
|
||||||
|
delete_destination()
|
|
@ -59,7 +59,7 @@ export const LandingHeroSection = ({ className }: { className?: string }) => {
|
||||||
"text-gray-900 dark:text-gray-0",
|
"text-gray-900 dark:text-gray-0",
|
||||||
)}
|
)}
|
||||||
>
|
>
|
||||||
Next Generation Hosting Panel
|
<span class="text-transparent bg-clip-text bg-gradient-to-r text-gradient-to-r from-[#0FBDBD] to-[#26D97F]">Next Generation</span> Hosting Panel
|
||||||
</h1>
|
</h1>
|
||||||
<p
|
<p
|
||||||
className={clsx(
|
className={clsx(
|
||||||
|
|
Loading…
Reference in a new issue