Added script

This commit is contained in:
SyntaxError
2025-12-11 20:42:59 -03:00
parent e3a5308796
commit a0c376a238
3 changed files with 548 additions and 0 deletions

15
teste.sh Executable file
View File

@@ -0,0 +1,15 @@
#!/bin/bash
detect_distro() {
for f in /etc/*release; do
[ -f "$f" ] || continue
. "$f"
echo "$NAME"
return 0
done
echo "toybox.sh - detect_distro: ${RED}NotFound${NC}: Could not detect distribution name."
exit 127
}
detect_distro