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