etc/rc and etc/rc.shutdown: change references from rc to openrc
This commit is contained in:
parent
3647db7a27
commit
72186ea3bb
@ -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
|
||||
|
@ -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}"
|
||||
|
Loading…
Reference in New Issue
Block a user