2013-03-23 21:56:55 +01:00
|
|
|
#!/bin/sh
|
|
|
|
ermsg()
|
|
|
|
{
|
|
|
|
echo "Couldn't unmount. Most likely your fault. Are you in /mnt/maemo?";
|
|
|
|
exit;
|
|
|
|
}
|
|
|
|
|
|
|
|
sync
|
|
|
|
umount /mnt/maemo || ermsg
|
2013-03-26 22:34:15 +01:00
|
|
|
ubidetach /dev/ubi_ctrl -d 0
|
2013-03-23 21:56:55 +01:00
|
|
|
rm /run/maemo-root-mounted
|