Browse Source

make restart-mounts the default to avoid stacked mounts on restart of amd. This is safer than trying to clean up mounts on exit, because umount may fail

master
Michael van Elst 23 years ago committed by Ralf S. Engelschall
parent
commit
5815fd04e5
  1. 2
      amd/amd.conf
  2. 10
      amd/amd.spec

2
amd/amd.conf

@ -9,7 +9,7 @@ log_file = @l_prefix@/var/amd/amd.log
search_path = @l_prefix@/etc/amd/:/etc/amdmaps
normalize_hostnames = yes
print_pid = yes
restart_mounts = no
restart_mounts = yes
unmount_on_exit = no
cache_duration = 300
print_version = yes

10
amd/amd.spec

@ -33,7 +33,7 @@ Distribution: OpenPKG [BASE]
Group: System
License: BSD
Version: 6.0.9
Release: 20030220
Release: 20030226
# list of sources
Source0: ftp://ftp.am-utils.org/pub/am-utils/am-utils-%{version}.tar.gz
@ -71,6 +71,14 @@ AutoReqProv: no
%patch -p1
%build
case "%{l_target}" in
*-netbsd* )
%{l_shtool} subst \
-e 's;\(!defined(__FreeBSD__)\);(\1 || !defined(__NetBSD__));g' \
hlfsd/stubs.c
;;
esac
# disable system LDAP support because it makes trouble (at least under Solaris 9)
( echo "ac_cv_func_ldap_open=\${ac_cv_func_ldap_open='no'}"
echo "ac_cv_header_ldap_h=\${ac_cv_header_ldap_h='no'}"

Loading…
Cancel
Save