#!/bin/sh
# Check if XBMC is installed internally
if [ -f /data/hack/xbmc/xbmc.sqfs && -f /data/hack/xbmc_launch.sh ]; then
        sh /data/hack/xbmc_launch.sh &
        exit
fi

# Check if we have XBMC installed on n external drive
for m in /tmp/mnt/*; do
	if [ -f ${m}/xbmc.bin ] || [ -f ${m}/xbmc/xbmc.bin ]; then
		/etc/rc3.d/U94boxeehal stop
		/etc/rc3.d/U99boxee stop
		killall BoxeeHal
		killall BoxeeLauncher
		killall Boxee
		killall run_boxee.sh
		mount -o bind /data/hack/xbmc.sh /opt/boxee/BoxeeLauncher
		/opt/boxee/BoxeeLauncher &
		exit
	fi
done


#!/bin/sh
# Check if XBMC is installed internally
if [ -f /data/hack/xbmc/xbmc.sqfs && -f /data/hack/xbmc_sqfs.sh ]; then
        sh /data/hack/xbmc_sqfs.sh &
        exit
fi

# Check if we have XBMC installed on n external drive
for m in /tmp/mnt/*; do
	if [ -f ${m}/xbmc.bin ] || [ -f ${m}/xbmc/xbmc.bin ]; then
		/etc/rc3.d/U94boxeehal stop
		/etc/rc3.d/U99boxee stop
		killall BoxeeHal
		killall BoxeeLauncher
		killall Boxee
		killall run_boxee.sh
		mount -o bind /data/hack/xbmc.sh /opt/boxee/BoxeeLauncher
		/opt/boxee/BoxeeLauncher &
		exit
	fi
done


--- 
+++ 
@@ -1,7 +1,7 @@
 #!/bin/sh
 # Check if XBMC is installed internally
-if [ -f /data/hack/xbmc/xbmc.sqfs && -f /data/hack/xbmc_launch.sh ]; then
-        sh /data/hack/xbmc_launch.sh &
+if [ -f /data/hack/xbmc/xbmc.sqfs && -f /data/hack/xbmc_sqfs.sh ]; then
+        sh /data/hack/xbmc_sqfs.sh &
         exit
 fi
 
Fix Internal installers file name
