CVSROOT: /cvs
Module name: ports
Changes by: [email protected] 2024/11/02 03:32:44
Modified files:
net/yggdrasil-go: Makefile
net/yggdrasil-go/pkg: yggdrasil.rc
Log message:
rc script: use syslog, provide rc_pre() and rc_configtest(), create tun(4)
yggdrasil logs to std by default, which does not show up in /var/log/daemon
so you fly blindly when using our script; switch to syslog(3) to fix that.
use -normaliseconf and jq(1) as sanity config check prior to start.
Not perfect since only validates format and not content, but still.
Also use MAKEDEV to create /dev/tunN where N > 3 as convenience helper.