Skip to content

Instantly share code, notes, and snippets.

@Maxdamantus
Last active August 29, 2015 13:57
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Maxdamantus/01e0925fb0a303374123 to your computer and use it in GitHub Desktop.
Save Maxdamantus/01e0925fb0a303374123 to your computer and use it in GitHub Desktop.
#!/bin/sh
FS_MODULES="mmc_core mmc_block omap_hsmmc mbcache ext2 jbd ext3"
MODULE_PATH=/lib/modules/`uname -r` #fixed by kernel-cssu
for mod in $FS_MODULES ; do
if [ -f $MODULE_PATH/$mod.ko ]; then
insmod $MODULE_PATH/$mod.ko
fi
done
sleep 2
mount -t proc proc /proc
mount -n /dev/mmcblk0p2 -t ext3 /mnt
exec chroot /mnt/maemo5-root /sbin/preinit "$@"
orcus:~# cat /etc/dbus-1/system.d/mce.conf
<!DOCTYPE busconfig PUBLIC
"-//freedesktop//DTD D-BUS Bus Configuration 1.0//EN"
"http://www.freedesktop.org/standards/dbus/1.0/busconfig.dtd">
<busconfig>
<policy user="root">
<allow own="com.nokia.mce"/>
<allow send_destination="com.nokia.mce"/>
<allow send_interface="com.nokia.mce.*"/>
</policy>
<policy user="user">
<allow send_destination="com.nokia.mce"/>
<allow send_interface="com.nokia.mce.*"/>
</policy>
<policy context="default">
<deny own="com.nokia.mce"/>
<deny send_destination="com.nokia.mce"/>
<deny send_interface="com.nokia.mce.*"/>
</policy>
</busconfig>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment