summaryrefslogtreecommitdiffstats
path: root/disk
diff options
context:
space:
mode:
authorIsmael Luceno2021-05-04 01:49:12 +0200
committerIsmael Luceno2021-05-04 01:51:33 +0200
commit68ef24e069f9ff7a3e9991235617d0e285f062df (patch)
tree27be18b59c58e8f62aa6d82543b266a7389acf97 /disk
parentbd7f33b5d682984b798d51a905d15472be8a5cbc (diff)
autofs: Remove editing of kmod config files
It isn't the job of this spell to deal with the autofs driver.
Diffstat (limited to 'disk')
-rw-r--r--disk/autofs/HISTORY1
-rwxr-xr-xdisk/autofs/INSTALL12
2 files changed, 1 insertions, 12 deletions
diff --git a/disk/autofs/HISTORY b/disk/autofs/HISTORY
index f1003b28f8..95a7888289 100644
--- a/disk/autofs/HISTORY
+++ b/disk/autofs/HISTORY
@@ -9,6 +9,7 @@
* DEPENDS: added optional dependency on systemd
added optional dependency on libtirpc
added optional dependency on LIBSASL
+ * INSTALL: removed editing of kmod config files
2008-02-06 Vlad Glagolev <stealth@sourcemage.org>
* DEPENDS: removed mktemp (deprecated), is a part
diff --git a/disk/autofs/INSTALL b/disk/autofs/INSTALL
index 9f862b4089..78f8b0bc49 100755
--- a/disk/autofs/INSTALL
+++ b/disk/autofs/INSTALL
@@ -1,17 +1,5 @@
default_install &&
-if [ ! -f /etc/modules.d/autofs ]; then
- mkdir -p /etc/modules.d &&
- cp $SCRIPT_DIRECTORY/modules.d/* \
- /etc/modules.d
-fi &&
-
-MOD="/etc/modules.conf" &&
-INC="include /etc/modules.d/autofs" &&
-
-grep -q "$INC" $MOD ||
-echo "$INC" >> $MOD &&
-
# together with disabling the samples subdir, we should now
# _not_ delete the admin's config on every cast
for FILE in auto.home auto.master auto.misc