Prevent busybox-init service from generating a config readable by everyone

This commit is contained in:
mirefly42 2025-05-02 15:43:30 +07:00
parent d372b033b6
commit 3c226e26ec

View file

@ -3,7 +3,7 @@
CONFFILE="/etc/yggdrasil.conf"
genconf() {
/usr/bin/yggdrasil -genconf > "$1"
(umask 037 && /usr/bin/yggdrasil -genconf > "$1")
return $?
}