mirror of
https://github.com/linuxserver/docker-wireguard
synced 2024-11-02 09:40:26 +00:00
Quiet
This commit is contained in:
parent
1950426df2
commit
ac95b6ff8a
@ -9,7 +9,7 @@ if ip link add dev test type wireguard; then
|
|||||||
echo "**** It seems the wireguard module is already active. Skipping kernel header install and module compilation. ****"
|
echo "**** It seems the wireguard module is already active. Skipping kernel header install and module compilation. ****"
|
||||||
SKIP_COMPILE="true"
|
SKIP_COMPILE="true"
|
||||||
ip link del dev test
|
ip link del dev test
|
||||||
if capsh --print | grep "Current:" | grep "cap_sys_module"; then
|
if capsh --print | grep "Current:" | grep -q "cap_sys_module"; then
|
||||||
echo "**** As the wireguard module is already active you can remove the SYS_MODULE capability from your container run/compose. ****"
|
echo "**** As the wireguard module is already active you can remove the SYS_MODULE capability from your container run/compose. ****"
|
||||||
fi
|
fi
|
||||||
else
|
else
|
||||||
|
Loading…
Reference in New Issue
Block a user