Respect shutdown's fastboot.
This commit is contained in:
parent
bc369085c7
commit
0e114abf5d
@ -29,6 +29,11 @@ start()
|
|||||||
{
|
{
|
||||||
local reboot_opts= fsck_opts= p=
|
local reboot_opts= fsck_opts= p=
|
||||||
|
|
||||||
|
if [ -e /fastboot ]; then
|
||||||
|
ewarn "Skipping fsck due to /fastboot"
|
||||||
|
return 0
|
||||||
|
fi
|
||||||
|
|
||||||
ebegin "Checking local filesystems"
|
ebegin "Checking local filesystems"
|
||||||
for p in ${fsck_passno}; do
|
for p in ${fsck_passno}; do
|
||||||
local IFS="${_IFS}"
|
local IFS="${_IFS}"
|
||||||
|
@ -13,7 +13,7 @@ depend()
|
|||||||
start()
|
start()
|
||||||
{
|
{
|
||||||
if echo 2>/dev/null >/.test.$$; then
|
if echo 2>/dev/null >/.test.$$; then
|
||||||
rm -f /.test.$$
|
rm -f /.test.$$ /fastboot
|
||||||
return 0
|
return 0
|
||||||
fi
|
fi
|
||||||
|
|
||||||
@ -23,4 +23,5 @@ start()
|
|||||||
*) mount -u -o rw /;;
|
*) mount -u -o rw /;;
|
||||||
esac
|
esac
|
||||||
eend $? "Root filesystem could not be mounted read/write"
|
eend $? "Root filesystem could not be mounted read/write"
|
||||||
|
rm -f /fastboot
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user