blob: 69d61adcfb96da5a40e1365085c04b9662748f1a (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
|
$NetBSD: patch-ab,v 1.2 2005/02/17 15:31:34 wiz Exp $
--- ra.sh.orig 2005-02-10 19:17:57.000000000 +0100
+++ ra.sh
@@ -23,7 +23,7 @@
SERVER="_RADMIND_HOST"
TLSLEVEL="_RADMIND_AUTHLEVEL"
EDITOR=${EDITOR:-vi}
-DEFAULTS="/etc/defaults/radmind"
+DEFAULTS="_PKG_SYSCONFDIR/radmind.defaults"
FSDIFFROOT="."
FLAG="_RADMIND_DIR/client/.RadmindRunning"
CHECKEDOUT="_RADMIND_DIR/client/.CheckedOut"
@@ -49,14 +49,6 @@ fi
LTMP="${TMPDIR}/lapply.out"
FTMP="${TMPDIR}/fsdiff.out"
-# different systems use different default dirs
-if [ ! -f "${DEFAULTS}" ]; then
- DEFAULTS="/etc/default/radmind"
- if [ ! -f "${DEFAULTS}" ]; then
- DEFAULTS="/etc/radmind.defaults"
- fi
-fi
-
Yn() {
echo -n "$*" "[Yn] "
read ans
|