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
do install_config_file "$SCRIPT_DIRECTORY/$FILE" "$INSTALL_ROOT/etc/$FILE"
done
