View Single Post
Stskeeps's Avatar
Posts: 1,671 | Thanked: 11,478 times | Joined on Jun 2008 @ Warsaw, Poland
#11
Originally Posted by bunanson View Post
Code:
...
		done
	fi
fi
#  Add for mmc2, p2, ext2
let "menu_count += 1"
ITEM_NAME="Internal MMC, partition 2, ext2"
ITEM_ID="mmc2"
ITEM_DEVICE="${INT_CARD}p2"
ITEM_MODULES="mbcache ext2"
ITEM_FSTYPE="ext2"
ITEM_FSOPTIONS="noatime"
ITEM_LINUXRC=""
eval MENU_${menu_count}_NAME=\$ITEM_NAME
eval MENU_${menu_count}_ID=\$ITEM_ID
eval MENU_${menu_count}_DEVICE=\$ITEM_DEVICE
eval MENU_${menu_count}_MODULES=\$ITEM_MODULES
eval MENU_${menu_count}_FSTYPE=\$ITEM_FSTYPE
eval MENU_${menu_count}_FSOPTIONS=\$ITEM_FSOPTIONS
eval MENU_${menu_count}_LINUXRC=\$ITEM_LINUXRC
# done adding

let "menu_count += 1"
ITEM_NAME="Power off (when not on charger)"
ITEM_ID="off"
...
A more elegant way would be to put everything with ITEM_ stuff in /etc/bootmenu.d/int-sd.item. After step 2 you cannot boot into Mer, you need Install bootmenu before or afterwards. Besides that it looks fine. Is our guides not clear enough about how to solve this scenario? Item 3 in http://wiki.maemo.org/Mer/Documentation/Bootmenu.
__________________
As you go on to other communities, remember to build them around politeness, respect, trust and humility. Be wary of poisonous people and deal with them before they end up killing your community.. Seen it happen to too many IRC channels, forums, open source projects.
 

The Following User Says Thank You to Stskeeps For This Useful Post: