1
0
Fork 0

Also properly detach maemo rootfs in rescueOS/shutdown-cleanup

Dieser Commit ist enthalten in:
Albert S. 2013-06-30 12:10:53 +02:00
Ursprung 767caa45b4
Commit 6aad08c6ac
1 geänderte Dateien mit 2 neuen und 2 gelöschten Zeilen

Datei anzeigen

@ -2,7 +2,7 @@ umount_maemo()
{
sync
umount /mnt/maemo
ubidetach -m 5
ubidetach /dev/ubi_ctrl -d 0
}
cd /
@ -27,7 +27,7 @@ sync
#reset timer.
sleep 3
i2cset -y -m 0x80 2 0x6b 0x04 0x80
[ -f /run/charger-runned ] && i2cset -y -m 0x80 2 0x6b 0x04 0x80
sleep 1
echo
echo "RescueOS says good bye - have a good day."