#!/bin/sh
progdir=`dirname "$0"`
case "$1" in
	1)
		rm -f $progdir/../Battery-2100mAh.sh
		rm -f $progdir/../Battery-2600mAh.sh
		rm -f $progdir/../Battery-2800mAh.sh
		rm -f $progdir/../Battery-information.sh
		cp -f $progdir/切换电池-2100mAh.sh $progdir/../
		cp -f $progdir/切换电池-2600mAh.sh $progdir/../
		cp -f $progdir/切换电池-2800mAh.sh $progdir/../
		cp -f $progdir/切换电池-显示当前容量.sh $progdir/../
		sync
		;;
	2)
		rm -f $progdir/../切换电池-2100mAh.sh
		rm -f $progdir/../切换电池-2600mAh.sh
		rm -f $progdir/../切换电池-2800mAh.sh
		rm -f $progdir/../切换电池-显示当前容量.sh
		cp -f $progdir/Battery-2100mAh.sh $progdir/../
		cp -f $progdir/Battery-2600mAh.sh $progdir/../
		cp -f $progdir/Battery-2800mAh.sh $progdir/../
		cp -f $progdir/Battery-information.sh $progdir/../
		sync
		;;
esac
