mirror of https://schlomp.space/tastytea/hashboot
parallel boot warning (openrc/sysv)
parent
184fd68e6c
commit
f1ec24decb
1
INSTALL
1
INSTALL
|
@ -16,3 +16,4 @@ SHOULD WORK ON:
|
||||||
WORKS NOT ON:
|
WORKS NOT ON:
|
||||||
* Ubuntu 14.04 (initscript.sysv doesn't interrupt boot process)
|
* Ubuntu 14.04 (initscript.sysv doesn't interrupt boot process)
|
||||||
* Systems with boot splash (I think)
|
* 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
|
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.
|
Detailed documentation is in the sourcecode.
|
||||||
|
|
|
@ -31,6 +31,11 @@ src_unpack() {
|
||||||
}
|
}
|
||||||
|
|
||||||
src_prepare() {
|
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
|
mkdir init
|
||||||
mv initscript.openrc init/hashboot
|
mv initscript.openrc init/hashboot
|
||||||
mv LICENSE HUG-WARE
|
mv LICENSE HUG-WARE
|
||||||
|
|
Loading…
Reference in New Issue