summaryrefslogtreecommitdiff
path: root/network/wireguard-linux-compat/doinst.sh
diff options
context:
space:
mode:
Diffstat (limited to 'network/wireguard-linux-compat/doinst.sh')
-rw-r--r--network/wireguard-linux-compat/doinst.sh3
1 files changed, 3 insertions, 0 deletions
diff --git a/network/wireguard-linux-compat/doinst.sh b/network/wireguard-linux-compat/doinst.sh
new file mode 100644
index 0000000000..d335d682c8
--- /dev/null
+++ b/network/wireguard-linux-compat/doinst.sh
@@ -0,0 +1,3 @@
+if [ -x sbin/depmod ]; then
+ chroot . /sbin/depmod -a @KERNEL@ 1> /dev/null 2> /dev/null
+fi