#!/bin/sh

conf=/etc/.default.sys

powerlast=`iniparse -c -f $conf -s system -k PowerSet`

if [ -z "$powerlast" ]; then
	powerlast=0
	iniparse -a -f $conf -s system -k PowerSet -v 0
fi

# set into flash
fw_setenv aconstat $powerlast
sync

exit 0
