1
0
rescueOS/rescueOS/umount-maemo-root.sh
2013-03-27 21:38:15 +01:00

12 Zeilen
191 B
Bash
Ausführbare Datei

#!/bin/sh
ermsg()
{
echo "Couldn't unmount. Most likely your fault. Are you in /mnt/maemo?";
exit;
}
sync
umount /mnt/maemo || ermsg
ubidetach /dev/ubi_ctrl -d 0
rm /run/maemo-root-mounted