summarylogtreecommitdiffstats
path: root/scst.install
diff options
context:
space:
mode:
authorAlex Talker2017-04-08 17:56:21 +0300
committerAlex Talker2017-04-08 17:58:46 +0300
commit511100f022d3a36a33d80553d7f43b3d27caf05e (patch)
treecd3f3cda2e151206c31aaeea139843bd5fbed2d6 /scst.install
downloadaur-511100f022d3a36a33d80553d7f43b3d27caf05e.tar.gz
Init commit
Diffstat (limited to 'scst.install')
-rw-r--r--scst.install13
1 files changed, 13 insertions, 0 deletions
diff --git a/scst.install b/scst.install
new file mode 100644
index 000000000000..44ab0697a69a
--- /dev/null
+++ b/scst.install
@@ -0,0 +1,13 @@
+post_install() {
+ EXTRAMODULES='extramodules-4.10-ARCH'
+ depmod $(cat /usr/lib/modules/${EXTRAMODULES}/version)
+ echo 'In order to use scst module, reboot the system or insert manually.'
+}
+
+post_upgrade() {
+ post_install
+}
+
+post_remove() {
+ post_install
+}