This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var postEventToOneApp = function(name, params, fallbackAction) { | |
if (SfdcApp && SfdcApp.projectOneNavigator && SfdcApp.projectOneNavigator.fireContainerEvent) { | |
// Not officially supported by Salesforce | |
SfdcApp.projectOneNavigator.fireContainerEvent(name, params); | |
} else if (fallbackAction) { | |
// Fallback if no Salesforce support of fireContainerEvent | |
fallbackAction(); | |
} | |
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/system/xbin/bash | |
CHROOT=/data/__felix__/__chroot__ | |
if [ -z "$1" -o "$1" == root ]; then | |
CMD='/bin/bash -l' | |
else | |
CMD="/bin/su - $1" | |
fi |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
USER='lrvick' | |
cd /data/local/arch | |
if ! mountpoint -q dev; then | |
mount -t proc /proc proc | |
mount -o bind /dev dev | |
mount -o bind /dev/pts dev/pts | |
fi |