summaryrefslogtreecommitdiff
path: root/src/grp-boot/kernel-install/50-depmod.install
diff options
context:
space:
mode:
authorLuke Shumaker <lukeshu@lukeshu.com>2017-05-10 17:38:59 -0400
committerLuke Shumaker <lukeshu@lukeshu.com>2017-05-10 17:38:59 -0400
commit7bd29679e6dd590bddfa18401749fad5c8f5d46b (patch)
treeca8e39d88032fc2458551743b38c4c3f3bde1374 /src/grp-boot/kernel-install/50-depmod.install
parent28420561826df73fff80c4a3c808aa9f1d418730 (diff)
./tools/notsd-move
Diffstat (limited to 'src/grp-boot/kernel-install/50-depmod.install')
-rw-r--r--src/grp-boot/kernel-install/50-depmod.install8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/grp-boot/kernel-install/50-depmod.install b/src/grp-boot/kernel-install/50-depmod.install
new file mode 100644
index 0000000000..68c24bed7a
--- /dev/null
+++ b/src/grp-boot/kernel-install/50-depmod.install
@@ -0,0 +1,8 @@
+#!/bin/bash
+# -*- mode: shell-script; indent-tabs-mode: nil; sh-basic-offset: 4; -*-
+# ex: ts=8 sw=4 sts=4 et filetype=sh
+
+[[ $1 == "add" ]] || exit 0
+[[ $2 ]] || exit 1
+
+exec depmod -a "$2"