summaryrefslogtreecommitdiff
path: root/setup-alpine.in
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2016-06-13 12:23:54 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2016-06-13 12:23:54 +0000
commitb709cfbbbf86ecfa74a674349ed0f9b5c04cbd46 (patch)
treeb4efc547f48d722d463936b060308d9427dfd303 /setup-alpine.in
parent0dd1f10889920ec8a63f6072601786c0acc9a249 (diff)
downloadalpine-conf-b709cfbbbf86ecfa74a674349ed0f9b5c04cbd46.zip
setup-alpine: fix openrc warning
Diffstat (limited to 'setup-alpine.in')
-rw-r--r--setup-alpine.in6
1 files changed, 3 insertions, 3 deletions
diff --git a/setup-alpine.in b/setup-alpine.in
index 050016c..c120c99 100644
--- a/setup-alpine.in
+++ b/setup-alpine.in
@@ -48,7 +48,7 @@ while getopts "af:c:hq" opt ; do
done
shift `expr $OPTIND - 1`
-rc_sys=$(rc --sys)
+rc_sys=$(openrc --sys)
# mount xenfs so we can detect xen dom0
if [ "$rc_sys" = "XENU" ] && ! grep -q '^xenfs' /proc/mounts; then
modprobe xenfs
@@ -156,8 +156,8 @@ done
/etc/init.d/hostname --quiet restart
# start up the services
-rc boot
-rc default
+openrc boot
+openrc default
# update /etc/hosts - after we have got dhcp address
# Get default fully qualified domain name from *first* domain