diff options
Diffstat (limited to 'src/scripts/iperd.profile')
| -rw-r--r-- | src/scripts/iperd.profile | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/scripts/iperd.profile b/src/scripts/iperd.profile index 30040d3..d90bced 100644 --- a/src/scripts/iperd.profile +++ b/src/scripts/iperd.profile | |||
| @@ -34,8 +34,8 @@ | |||
| 34 | # | 34 | # |
| 35 | 35 | ||
| 36 | # set defaults | 36 | # set defaults |
| 37 | SCRIPTDIR="$(cd $(dirname "${0}"); pwd)" | 37 | BASEDIR="$(cd "$(dirname "${IPERD_PROFILE}")/../../"; pwd)" |
| 38 | BASEDIR="$(dirname "${0}")/../../" | 38 | SCRIPTDIR="${SCRIPTDIR:-${BASEDIR}/src/scripts}" |
| 39 | DISTRODIR="${DISTRODIR:-${BASEDIR}/src/distros}" | 39 | DISTRODIR="${DISTRODIR:-${BASEDIR}/src/distros}" |
| 40 | CONFIGDIR="${CONFIGDIR:-${BASEDIR}/var/config}" | 40 | CONFIGDIR="${CONFIGDIR:-${BASEDIR}/var/config}" |
| 41 | CONFIG="${CONFIG:-${CONFIGDIR}/iperd.conf}" | 41 | CONFIG="${CONFIG:-${CONFIGDIR}/iperd.conf}" |
