summaryrefslogtreecommitdiffstats
path: root/abs/core/module-init-tools/module-init-tools.install
diff options
context:
space:
mode:
authorMichael Hanson <hansonorders@verizon.net>2010-11-23 21:50:11 (GMT)
committerMichael Hanson <hansonorders@verizon.net>2010-11-23 21:50:11 (GMT)
commit1c0995cda53f8919a58723212a697604c0235df2 (patch)
tree32357771523fee12c533b9013a1cd146732a34fc /abs/core/module-init-tools/module-init-tools.install
parentac16d6df26ed3ffd2d67d998beab17c2fa7a8707 (diff)
downloadlinhes_pkgbuild-1c0995cda53f8919a58723212a697604c0235df2.zip
linhes_pkgbuild-1c0995cda53f8919a58723212a697604c0235df2.tar.gz
linhes_pkgbuild-1c0995cda53f8919a58723212a697604c0235df2.tar.bz2
module-init-tools: Recompile with install script that mv's /etc/modprobe.conf if it exists.
Diffstat (limited to 'abs/core/module-init-tools/module-init-tools.install')
-rw-r--r--abs/core/module-init-tools/module-init-tools.install6
1 files changed, 6 insertions, 0 deletions
diff --git a/abs/core/module-init-tools/module-init-tools.install b/abs/core/module-init-tools/module-init-tools.install
new file mode 100644
index 0000000..eedb63b
--- /dev/null
+++ b/abs/core/module-init-tools/module-init-tools.install
@@ -0,0 +1,6 @@
+pre_upgrade() {
+ if [ -f /etc/modprobe.conf ]
+ then
+ mv /etc/modprobe.conf /etc/modprobe.d/modprobe.conf
+ done
+}