#!/bin/sh
progdir=`dirname "$0"`
mount -o remount,rw /misc
cp -f /misc/dtbs/2600mAh.dtb /misc/kernel.dtb
mount -o remount,ro /misc
echo 2600 > /mnt/mmc/CFW/os/batt.txt
$progdir/batt/printstr "Switched to: 2600mAh, Shutdown..."
sleep 2
sync
poweroff -f
