diff options
author | Roy Marples <roy@marples.name> | 2008-03-02 21:14:01 +0000 |
---|---|---|
committer | Roy Marples <roy@marples.name> | 2008-03-02 21:14:01 +0000 |
commit | 67c5fd6bb8f1d489f7dd012a63a370f20fbe02da (patch) | |
tree | cf413352b5ec98209db226158b2a5113ce14936c /sh/runscript.sh.in | |
parent | a12dbdc6c93a7d63591610378e3e570b7c7d2143 (diff) |
Ensure that our scripts call prefixed runscript.
Diffstat (limited to 'sh/runscript.sh.in')
-rw-r--r-- | sh/runscript.sh.in | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sh/runscript.sh.in b/sh/runscript.sh.in index 6b8c3db2..df50e881 100644 --- a/sh/runscript.sh.in +++ b/sh/runscript.sh.in @@ -4,7 +4,7 @@ # Copyright 2007-2008 Roy Marples <roy@marples.name> # All rights reserved. Released under the 2-clause BSD license. -. /etc/init.d/functions.sh +. @PREFIX@/etc/init.d/functions.sh . "${RC_LIBDIR}"/sh/rc-functions.sh # Support LiveCD foo @@ -59,7 +59,7 @@ elif [ -e "/etc/conf.d/${SVCNAME}" ]; then fi # Load any system overrides -[ -e /etc/rc.conf ] && . /etc/rc.conf +[ -e @PREFIX@/etc/rc.conf ] && . @PREFIX@/etc/rc.conf # Apply any ulimit defined [ -n "${rc_ulimit:-${RC_ULIMIT}}" ] && ulimit ${rc_ulimit:-${RC_ULIMIT}} |