etc/rc and etc/rc.shutdown: change references from rc to openrc

This commit is contained in:
William Hubbs 2014-12-07 19:06:51 -06:00
parent 3647db7a27
commit 72186ea3bb
2 changed files with 4 additions and 4 deletions

View File

@ -10,9 +10,9 @@
trap : SIGINT
trap "echo 'Boot interrupted'; exit 1" SIGQUIT
/sbin/rc sysinit || exit 1
/sbin/rc boot || exit 1
/sbin/rc default
/sbin/openrc sysinit || exit 1
/sbin/openrc boot || exit 1
/sbin/openrc default
# We don't actually care if rc default worked or not, we should exit 0
# to allow logins

View File

@ -14,4 +14,4 @@ LD_LIBRARY_PATH="/lib${LD_LIBRARY_PATH:+:}${LDLIBRARY_PATH}" ; export LD_LIBRARY
[ -z "$TERM" -o "$TERM" = "dumb" ] && TERM="@TERM@" && export TERM
action=${1:-shutdown}
exec /sbin/rc "${action}"
exec /sbin/openrc "${action}"