#!/bin/sh

# Get OSSO environment variables (launchers, dbus bus, etc)
if [ -f /etc/osso-af-init/af-defines.sh ]; then
  source /etc/osso-af-init/af-defines.sh
fi

# Update mime data
if [ -x /usr/bin/update-mime-database ]; then
    update-mime-database /usr/share/mime
fi

# Update icons cache to make application icons visible
if [ -x /usr/bin/gtk-update-icon-cache ]; then
 gtk-update-icon-cache --force /usr/share/pixmaps
fi

# Update desktop database
if [ -x /usr/bin/update-desktop-database ]; then
    update-desktop-database
fi

qflash --default
