mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-08-05 21:37:15 +02:00
community/yggdrasil: prevent generated config from being world-readable
The file contains secrets and thus should not be world-readable.
This commit is contained in:
parent
62a33f24ad
commit
8e588aebcb
@ -1,7 +1,7 @@
|
||||
# Maintainer: Drew DeVault <sir@cmpwn.com>
|
||||
pkgname=yggdrasil
|
||||
pkgver=0.4.7
|
||||
pkgrel=5
|
||||
pkgrel=6
|
||||
pkgdesc="An experiment in scalable routing as an encrypted IPv6 overlay network"
|
||||
url="https://yggdrasil-network.github.io/"
|
||||
arch="all"
|
||||
|
@ -2,5 +2,5 @@
|
||||
modprobe tun
|
||||
|
||||
if [ ! -e "/etc/yggdrasil.conf" ]; then
|
||||
yggdrasil -genconf > /etc/yggdrasil.conf
|
||||
(umask 077; yggdrasil -genconf > /etc/yggdrasil.conf)
|
||||
fi
|
||||
|
Loading…
Reference in New Issue
Block a user