summaryrefslogtreecommitdiffstats
path: root/disk/autofs/INSTALL
diff options
context:
space:
mode:
Diffstat (limited to 'disk/autofs/INSTALL')
-rwxr-xr-xdisk/autofs/INSTALL4
1 files changed, 3 insertions, 1 deletions
diff --git a/disk/autofs/INSTALL b/disk/autofs/INSTALL
index c7831242ae..9f862b4089 100755
--- a/disk/autofs/INSTALL
+++ b/disk/autofs/INSTALL
@@ -12,6 +12,8 @@ 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
-do [ -f /etc/$FILE ] || cp $SCRIPT_DIRECTORY/$FILE /etc
+do install_config_file "$SCRIPT_DIRECTORY/$FILE" "$INSTALL_ROOT/etc/$FILE"
done