blob: 4766776053746b98406c9bb2b237c6ff22ce78d3 (
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
29
30
31
32
33
34
35
36
37
|
$NetBSD: patch-ab,v 1.6 2007/05/07 14:14:06 hauke Exp $
--- ra.sh.orig 2007-02-27 16:20:09.000000000 +0100
+++ ra.sh
@@ -29,7 +29,7 @@ TLSLEVEL="_RADMIND_AUTHLEVEL"
EDITOR=${EDITOR:-vi}
USER=${SUDO_USER:-$USER}
TMPDIR="${TMPDIR:=/tmp}"
-DEFAULTS="/etc/defaults/radmind"
+DEFAULTS="_PKG_SYSCONFDIR/radmind.defaults"
FSDIFFROOT="."
FLAG="_RADMIND_DIR/client/.RadmindRunning"
CHECKEDOUT="_RADMIND_DIR/client/.CheckedOut"
@@ -39,7 +39,7 @@ VERSION=_RADMIND_VERSION
PREAPPLY="_RADMIND_PREAPPLY"
POSTAPPLY="_RADMIND_POSTAPPLY"
-PATH=/usr/local/bin:/usr/bin:/bin; export PATH
+PATH=_LOCALBASE/bin:/usr/bin:/bin; export PATH
RETRY=10
MKTEMP="_RADMIND_MKTEMP"
@@ -55,14 +55,6 @@ fi
LTMP="${RASHTMP}/lapply.out"
FTMP="${RASHTMP}/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
|