From f1ec24decb63ad3a5c824dbb79b364549023abb9 Mon Sep 17 00:00:00 2001 From: tastytea Date: Sun, 4 Oct 2015 17:19:47 +0200 Subject: [PATCH] parallel boot warning (openrc/sysv) --- INSTALL | 1 + README | 2 ++ hashboot-9999.ebuild | 5 +++++ 3 files changed, 8 insertions(+) diff --git a/INSTALL b/INSTALL index 5c84aec..ebed884 100644 --- a/INSTALL +++ b/INSTALL @@ -16,3 +16,4 @@ SHOULD WORK ON: WORKS NOT ON: * Ubuntu 14.04 (initscript.sysv doesn't interrupt boot process) * Systems with boot splash (I think) + * Systems with openrc/sysv-init and parallel boot diff --git a/README b/README index 81690eb..8dad880 100644 --- a/README +++ b/README @@ -12,4 +12,6 @@ Run "hashboot.sh recover" to replace corrupted files with the backup A backup is stored in /var/cache/bootbackup.tar.gz +You can't use the openrc/sysv init scripts with parallel boot. + Detailed documentation is in the sourcecode. diff --git a/hashboot-9999.ebuild b/hashboot-9999.ebuild index 9d5a4ab..3105e07 100644 --- a/hashboot-9999.ebuild +++ b/hashboot-9999.ebuild @@ -31,6 +31,11 @@ src_unpack() { } src_prepare() { + if grep -q '^rc_parallel="YES"' /etc/rc.conf + then + ewarn "hashboot does not work properly with parallel boot enabled." + fi + mkdir init mv initscript.openrc init/hashboot mv LICENSE HUG-WARE