summaryrefslogtreecommitdiff
path: root/libre/linux-libre-lts-kmod-alx/linux-libre-lts-kmod-alx.install
diff options
context:
space:
mode:
authorLuke Shumaker <LukeShu@sbcglobal.net>2013-09-20 23:27:08 -0400
committerLuke Shumaker <LukeShu@sbcglobal.net>2013-09-20 23:27:08 -0400
commita44a429581d48f5f1dc661d8484519836c219807 (patch)
tree2d00688a5ebe9f6bb3f5ebe04fd6f35af12ac39f /libre/linux-libre-lts-kmod-alx/linux-libre-lts-kmod-alx.install
parenta3b4fa51913575d1c7478abfbcdd2799d0855ab0 (diff)
parent87b354d1fd3ad74a6d57140348bf63ddef871d11 (diff)
Merge branch 'master' of git://projects.parabolagnulinux.org/abslibre
Diffstat (limited to 'libre/linux-libre-lts-kmod-alx/linux-libre-lts-kmod-alx.install')
-rw-r--r--libre/linux-libre-lts-kmod-alx/linux-libre-lts-kmod-alx.install33
1 files changed, 0 insertions, 33 deletions
diff --git a/libre/linux-libre-lts-kmod-alx/linux-libre-lts-kmod-alx.install b/libre/linux-libre-lts-kmod-alx/linux-libre-lts-kmod-alx.install
deleted file mode 100644
index aad4270cd..000000000
--- a/libre/linux-libre-lts-kmod-alx/linux-libre-lts-kmod-alx.install
+++ /dev/null
@@ -1,33 +0,0 @@
-generic() {
- echo " > Running depmod now..."
- depmod -a
-}
-
-unload() {
- lsmod | grep alx > /dev/null
- if [ "$?" = "0" ]; then
- rmmod alx
- fi
-}
-
-post_install() {
- generic
- echo " > Reloading alx module..."
- echo " Please note that you may REBOOT your system to get it works!"
- unload
- sleep 0.5
- modprobe alx
-}
-
-post_upgrade() {
- post_install
-}
-
-post_remove() {
- generic
- echo " > Unloading memory resident module..."
- unload
- rmmod compat
- echo " Module unloaded!."
-}
-