summaryrefslogtreecommitdiffstats
path: root/source/a/module-init-tools/doinst.sh
diff options
context:
space:
mode:
Diffstat (limited to 'source/a/module-init-tools/doinst.sh')
-rw-r--r--source/a/module-init-tools/doinst.sh7
1 files changed, 7 insertions, 0 deletions
diff --git a/source/a/module-init-tools/doinst.sh b/source/a/module-init-tools/doinst.sh
new file mode 100644
index 000000000..f455be891
--- /dev/null
+++ b/source/a/module-init-tools/doinst.sh
@@ -0,0 +1,7 @@
+# Remove/move obsolete configuration:
+if [ -L etc/modprobe.d/modprobe.conf ]; then
+ rm -f etc/modprobe.d/modprobe.conf
+fi
+if [ -e etc/modprobe.conf ]; then
+ mv etc/modprobe.conf etc/modprobe.conf.obsolete
+fi