make init.sh and init-early.sh honor SYSCONFDIR

Fixes hardcoded paths that break when built with SYSCONFDIR
set to anything other than /etc/

Signed-off-by: Andrew Gregory <andrew.gregory.8@gmail.com>
This commit is contained in:
Andrew Gregory
2013-02-11 22:13:28 -05:00
committed by William Hubbs
parent 746bf5f783
commit cd4becf6cd
3 changed files with 3 additions and 3 deletions
+1 -1
View File
@@ -4,7 +4,7 @@
# Released under the 2-clause BSD license.
. "$RC_LIBEXECDIR"/sh/functions.sh
[ -r /etc/rc.conf ] && . /etc/rc.conf
[ -r "@SYSCONFDIR@/rc.conf" ] && . "@SYSCONFDIR@/rc.conf"
# By default VServer already has /proc mounted, but OpenVZ does not!
# However, some of our users have an old proc image in /proc