mirror of
https://schlomp.space/tastytea/hashboot
synced 2024-11-16 14:37:06 +01:00
parallel boot warning (openrc/sysv)
This commit is contained in:
parent
184fd68e6c
commit
f1ec24decb
1
INSTALL
1
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
|
||||
|
2
README
2
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.
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user