Also properly detach maemo rootfs in rescueOS/shutdown-cleanup
This commit is contained in:
parent
767caa45b4
commit
6aad08c6ac
@ -2,7 +2,7 @@ umount_maemo()
|
|||||||
{
|
{
|
||||||
sync
|
sync
|
||||||
umount /mnt/maemo
|
umount /mnt/maemo
|
||||||
ubidetach -m 5
|
ubidetach /dev/ubi_ctrl -d 0
|
||||||
}
|
}
|
||||||
cd /
|
cd /
|
||||||
|
|
||||||
@ -27,7 +27,7 @@ sync
|
|||||||
|
|
||||||
#reset timer.
|
#reset timer.
|
||||||
sleep 3
|
sleep 3
|
||||||
i2cset -y -m 0x80 2 0x6b 0x04 0x80
|
[ -f /run/charger-runned ] && i2cset -y -m 0x80 2 0x6b 0x04 0x80
|
||||||
sleep 1
|
sleep 1
|
||||||
echo
|
echo
|
||||||
echo "RescueOS says good bye - have a good day."
|
echo "RescueOS says good bye - have a good day."
|
||||||
|
Loading…
Reference in New Issue
Block a user