mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-08-05 13:27:09 +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>
|
# Maintainer: Drew DeVault <sir@cmpwn.com>
|
||||||
pkgname=yggdrasil
|
pkgname=yggdrasil
|
||||||
pkgver=0.4.7
|
pkgver=0.4.7
|
||||||
pkgrel=5
|
pkgrel=6
|
||||||
pkgdesc="An experiment in scalable routing as an encrypted IPv6 overlay network"
|
pkgdesc="An experiment in scalable routing as an encrypted IPv6 overlay network"
|
||||||
url="https://yggdrasil-network.github.io/"
|
url="https://yggdrasil-network.github.io/"
|
||||||
arch="all"
|
arch="all"
|
||||||
|
@ -2,5 +2,5 @@
|
|||||||
modprobe tun
|
modprobe tun
|
||||||
|
|
||||||
if [ ! -e "/etc/yggdrasil.conf" ]; then
|
if [ ! -e "/etc/yggdrasil.conf" ]; then
|
||||||
yggdrasil -genconf > /etc/yggdrasil.conf
|
(umask 077; yggdrasil -genconf > /etc/yggdrasil.conf)
|
||||||
fi
|
fi
|
||||||
|
Loading…
Reference in New Issue
Block a user