Fake get_bootparam function so that we don't check for kernel options forcefsck when doing an fsck on shutdown.
This commit is contained in:
parent
f4b8366942
commit
1c5ec9d161
@ -93,6 +93,9 @@ stop()
|
||||
_abort() { return 0; }
|
||||
_reboot() { return 0; }
|
||||
|
||||
# Don't check kernel params on stop.
|
||||
get_bootparam() { return 1; }
|
||||
|
||||
yesno "${fsck_shutdown}" && start
|
||||
return 0
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user