aboutsummaryrefslogtreecommitdiffstats
path: root/main/openrc/remove-rc_sys-warning.patch
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2011-04-27 17:52:53 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2011-04-27 17:52:53 +0000
commitb2ea6198bde082904f57fa9c6e6fb0650044af39 (patch)
tree3248ea7b789f807c88387bee741fe7659ea8a957 /main/openrc/remove-rc_sys-warning.patch
parentda702bce05591e20f2d4ea840f854828b0ff74fe (diff)
downloadaports-b2ea6198bde082904f57fa9c6e6fb0650044af39.tar.bz2
aports-b2ea6198bde082904f57fa9c6e6fb0650044af39.tar.xz
main/openrc: remove warning about rc_sys not defined in rc.conf
We don't need this warning really. fixes #578
Diffstat (limited to 'main/openrc/remove-rc_sys-warning.patch')
-rw-r--r--main/openrc/remove-rc_sys-warning.patch10
1 files changed, 10 insertions, 0 deletions
diff --git a/main/openrc/remove-rc_sys-warning.patch b/main/openrc/remove-rc_sys-warning.patch
new file mode 100644
index 0000000000..4f11674888
--- /dev/null
+++ b/main/openrc/remove-rc_sys-warning.patch
@@ -0,0 +1,10 @@
+--- ./src/rc/rc.c.orig
++++ ./src/rc/rc.c
+@@ -878,7 +878,6 @@
+ if (bootlevel)
+ printf("%s\n", bootlevel);
+ } else {
+- ewarn("WARNING: rc_sys not defined in rc.conf. Falling back to automatic detection");
+ bootlevel = rc_sys_v1();
+ if (bootlevel)
+ printf("%s\n", bootlevel);