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