Rename local->internal

This commit is contained in:
d3m0k1d
2026-01-04 19:26:38 +03:00
parent 3ace10d05a
commit 8bac2b205e
3 changed files with 0 additions and 0 deletions

View File

@@ -0,0 +1,21 @@
package config
import (
"fmt"
"os"
"os/exec"
"syscall"
)
func CreateConf() {
if syscall.Geteuid() != 0 {
os.Exit(1)
fmt.Printf("You must be root to run\n, use the sudo/doas")
}
exec.Command("mkdir /etc/banforge")
exec.Command("touch /etc/banforge/config.toml")
}
func CheckSysConf() {
}