diff options
author | Natanael Copa <ncopa@alpinelinux.org> | 2016-06-13 13:16:33 +0000 |
---|---|---|
committer | Natanael Copa <ncopa@alpinelinux.org> | 2016-06-13 13:16:33 +0000 |
commit | e51520b853330cf6dff8db68c4a6e455367cd6c1 (patch) | |
tree | f366ffe47fac7bd9359202d73952c0792ea108ca /main/alpine-conf/0001-setup-alpine-fix-openrc-warning.patch | |
parent | 6ff0d7a602686d7b807bfabb409993314e6acda1 (diff) | |
download | aports-e51520b853330cf6dff8db68c4a6e455367cd6c1.tar.bz2 aports-e51520b853330cf6dff8db68c4a6e455367cd6c1.tar.xz |
main/alpine-conf: fix openrc warning
Diffstat (limited to 'main/alpine-conf/0001-setup-alpine-fix-openrc-warning.patch')
-rw-r--r-- | main/alpine-conf/0001-setup-alpine-fix-openrc-warning.patch | 36 |
1 files changed, 36 insertions, 0 deletions
diff --git a/main/alpine-conf/0001-setup-alpine-fix-openrc-warning.patch b/main/alpine-conf/0001-setup-alpine-fix-openrc-warning.patch new file mode 100644 index 0000000000..1ec1453934 --- /dev/null +++ b/main/alpine-conf/0001-setup-alpine-fix-openrc-warning.patch @@ -0,0 +1,36 @@ +From b709cfbbbf86ecfa74a674349ed0f9b5c04cbd46 Mon Sep 17 00:00:00 2001 +From: Natanael Copa <ncopa@alpinelinux.org> +Date: Mon, 13 Jun 2016 12:23:54 +0000 +Subject: [PATCH] setup-alpine: fix openrc warning + +--- + setup-alpine.in | 6 +++--- + 1 file 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 +-- +2.8.4 + |