mirror of
https://github.com/yggdrasil-network/yggdrasil-go.git
synced 2025-05-20 00:45:06 +03:00
Prevent busybox-init service from generating a config readable by everyone
This commit is contained in:
parent
d372b033b6
commit
3c226e26ec
1 changed files with 1 additions and 1 deletions
|
@ -3,7 +3,7 @@
|
||||||
CONFFILE="/etc/yggdrasil.conf"
|
CONFFILE="/etc/yggdrasil.conf"
|
||||||
|
|
||||||
genconf() {
|
genconf() {
|
||||||
/usr/bin/yggdrasil -genconf > "$1"
|
(umask 037 && /usr/bin/yggdrasil -genconf > "$1")
|
||||||
return $?
|
return $?
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue