aboutsummaryrefslogtreecommitdiff
path: root/network/wireguard-linux-compat/doinst.sh
diff options
context:
space:
mode:
authorAnj Duvnjak <alvind11@hotmail.com>2020-01-02 21:25:13 -0600
committerRobby Workman <rworkman@slackbuilds.org>2020-01-02 23:33:51 -0600
commitca7f203daefaac8a4e91e6886cc794160884e5a9 (patch)
treeed4d13efe7d106ce66d1c0030aec66d74e5e2c9c /network/wireguard-linux-compat/doinst.sh
parent47056bddc4fd2745c3ed4428acfdaacb554a390d (diff)
network/wireguard-linux-compat: Added (WireGuard kernel module)
Signed-off-by: Robby Workman <rworkman@slackbuilds.org>
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 0000000000000..d335d682c8413
--- /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