aports/main/wireguard-tools/wireguard-tools-openrc.post-install
FintasticMan d6ec6c73a5 main/wireguard-tools: add wg-quick init script
Script from Gentoo's wireguard-tools package.
To use, symlink the script to wg-quick.$interface.
2024-05-15 14:30:03 +00:00

10 lines
264 B
Bash

#!/bin/sh
cat 1>&2 <<EOF
*
* To use the WireGuard OpenRC script, you need to create a symbolic link to it with the configuration name:
* ln -s /etc/init.d/wg-quick /etc/init.d/wg-quick.wg0
* And then call it instead:
* rc-service wg-quick.wg0 start
*
EOF