summaryrefslogtreecommitdiff
path: root/sh/runscript.sh.in
diff options
context:
space:
mode:
authorRoy Marples <roy@marples.name>2008-03-25 18:33:45 +0000
committerRoy Marples <roy@marples.name>2008-03-25 18:33:45 +0000
commit5866d829bb4c3352056e2c6775efe71f299ee120 (patch)
tree81e25c55594cdbf114c4d22087ea1b7c27571793 /sh/runscript.sh.in
parent068c90c82b07343b5f54fe5ac836fe3efc66f51f (diff)
downloadopenrc-5866d829bb4c3352056e2c6775efe71f299ee120.tar.gz
openrc-5866d829bb4c3352056e2c6775efe71f299ee120.tar.bz2
openrc-5866d829bb4c3352056e2c6775efe71f299ee120.tar.xz
Try and fix more prefix stuff.
Diffstat (limited to 'sh/runscript.sh.in')
-rw-r--r--sh/runscript.sh.in4
1 files changed, 2 insertions, 2 deletions
diff --git a/sh/runscript.sh.in b/sh/runscript.sh.in
index 51777fa..4492888 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.
-. @PREFIX@/@SYSCONFDIR@/init.d/functions.sh
+. @SYSCONFDIR@/init.d/functions.sh
. "${RC_LIBDIR}"/sh/rc-functions.sh
# Support LiveCD foo
@@ -67,7 +67,7 @@ fi
unset _conf_d
# Load any system overrides
-[ -e @PREFIX@/@SYSCONFDIR@/rc.conf ] && . @PREFIX@/@SYSCONFDIR@/rc.conf
+[ -e @SYSCONFDIR@/rc.conf ] && . @SYSCONFDIR@/rc.conf
# Apply any ulimit defined
[ -n "${rc_ulimit:-${RC_ULIMIT}}" ] && ulimit ${rc_ulimit:-${RC_ULIMIT}}